virtual void setOrigin(const DVect &v)=0
Sets the plane origin.
virtual IntersectCode getIntersection(const DVect &begin, const DVect &end, DVect *loc=0, double *dist=0) const =0
DIM - Provides code portability between 2D and 3D codes.
virtual void setOrientation(const Orientation &o)=0
Sets the plane orientation.
virtual DVect getClosestPoint(const DVect &v) const =0
Returns the closest point in the plane to v.
Class for storing an "orientation", or a direction in 2D or 3D space.
Definition: orientation.h:94
IntersectCode
Possible intersection types.
Definition: iplane.h:33
virtual const DVect & getOrigin() const =0
Returns the plane origin.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
One stop include for all objects defined as part of base interface.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:145
Interface for the definition of a Plane in 3D space.
Definition: iplane.h:30
virtual double getDistance(const DVect &v) const =0
virtual const Orientation & getOrientation() const =0
Returns the plane orientation.