![]() |
|
Public Member Functions | |
plane () | |
Construct null. | |
plane (const point &basePoint, const vector &normalVector) | |
Construct from normal vector and point in plane. | |
plane (const point &point1, const point &point2, const point &point3) | |
Construct from three points in plane. | |
plane (const scalarList &C) | |
Construct from coefficients for the. | |
plane (const dictionary &planeDict) | |
Construct from dictionary. | |
plane (Istream &is) | |
Construct from Istream. Assumes the base + normal notation. | |
const vector & | normal () const |
Return plane normal. | |
const point & | refPoint () const |
Return or return plane base point. | |
scalarList | planeCoeffs () const |
Return coefficients for the. | |
point | nearestPoint (const point &p) const |
Return nearest point in the plane for the given point. | |
scalar | distance (const point &p) const |
Return distance from the given point to the plane. | |
scalar | normalIntersect (const point &pnt0, const vector &dir) const |
Return cut coefficient for plane and line defined by. | |
scalar | normalIntersect (const ray &r) const |
Return cut coefficient for plane and ray. | |
template<class Point, class PointRef> | |
scalar | lineIntersect (const line< Point, PointRef > &l) const |
Return the cutting point between the plane and. | |
ray | planeIntersect (const plane &) const |
Return the cutting line between this plane and another. | |
point | planePlaneIntersect (const plane &, const plane &) const |
Return the cutting point between this plane and two other planes. | |
Friends | |
Ostream & | operator<< (Ostream &, const plane &) |
Write plane properties. |
|
Construct null.
|
|
Construct from normal vector and point in plane.
|
|
Construct from three points in plane.
|
|
Construct from coefficients for the. plane equation: ax + by + cz + d = 0 |
|
Construct from dictionary.
|
|
Construct from Istream. Assumes the base + normal notation.
|
|
Return distance from the given point to the plane.
|
|
Return the cutting point between the plane and. a line passing through the supplied points |
|
Return nearest point in the plane for the given point.
|
|
Return plane normal.
|
|
Return cut coefficient for plane and ray.
Definition at line 167 of file plane.H. References Foam::point. |
|
Return cut coefficient for plane and line defined by. origin and direction |
|
Return coefficients for the. plane equation: ax + by + cz + d = 0 |
|
Return the cutting line between this plane and another. Returned as direction vector and point line goes through. |
|
Return the cutting point between this plane and two other planes.
|
|
Return or return plane base point.
|
|
Write plane properties.
|