|
CFx SDK Documentation
2020SP3
|
#include <GePlane.h>
Static Public Attributes | |
| static GE_STATIC_EXPORT const OdGePlane | kXYPlane |
| static GE_STATIC_EXPORT const OdGePlane | kYZPlane |
| static GE_STATIC_EXPORT const OdGePlane | kZXPlane |
Additional Inherited Members | |
Protected Member Functions inherited from OdGePlanarEnt | |
| OdGePlanarEnt () | |
| OdGePlanarEnt (const OdGePlanarEnt &plane) | |
Protected Member Functions inherited from OdGeSurface | |
| OdGeSurface () | |
| OdGeSurface (const OdGeSurface &surf) | |
Protected Member Functions inherited from OdGeEntity3d | |
| OdGeEntity3d () | |
| OdGeEntity3d (const OdGeEntity3d &) | |
| void | connectTo (OdGeEntity3dImpl *) |
This class represents infinite planes in 3D space.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
| OdGePlane::OdGePlane | ( | ) |
| origin | [in] Origin of plane. |
| normal | [in] The normal to the plane. |
| uPnt | [in] A point at the end of the U-axis. |
| vPnt | [in] A point at the end of the V-axis. |
| uAxis | [in] The U-axis. |
| vAxis | [in] The V-axis. |
| a | [in] Coefficient a. |
| b | [in] Coefficient b. |
| c | [in] Coefficient c. |
| d | [in] Coefficient d. |
S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis)
uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear.
The orthonormal canonical coordinate system associated with a plane defined follows
@untitled table origin Origin of plane. originOfPlanarEntiity
axis1 A unit vector in the plane. uAxis.normal()
axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal()
The plane equation for this plane is as follows
a * X + b * Y + c * Z + d = 0
| OdGePlane::OdGePlane | ( | const OdGePlane & | plane | ) |
| OdGePlane::OdGePlane | ( | const OdGePoint3d & | origin, |
| const OdGeVector3d & | normal | ||
| ) |
| OdGePlane::OdGePlane | ( | const OdGePoint3d & | uPnt, |
| const OdGePoint3d & | origin, | ||
| const OdGePoint3d & | vPnt | ||
| ) |
| OdGePlane::OdGePlane | ( | const OdGePoint3d & | origin, |
| const OdGeVector3d & | uAxis, | ||
| const OdGeVector3d & | vAxis | ||
| ) |
| OdGePlane::OdGePlane | ( | double | a, |
| double | b, | ||
| double | c, | ||
| double | d | ||
| ) |
| bool OdGePlane::intersectWith | ( | const OdGeBoundedPlane & | plane, |
| OdGeLineSeg3d & | intLine, | ||
| const OdGeTol & | tol = OdGeContext::gTol |
||
| ) | const |
| bool OdGePlane::intersectWith | ( | const OdGePlane & | plane, |
| OdGeLine3d & | intLine, | ||
| const OdGeTol & | tol = OdGeContext::gTol |
||
| ) | const |
| OdGePlane& OdGePlane::set | ( | const OdGePoint3d & | origin, |
| const OdGeVector3d & | uAxis, | ||
| const OdGeVector3d & | vAxis | ||
| ) |
Sets the parameters for this plane according to the arguments.
| origin | [in] Origin of plane. |
| uAxis | [in] The U-axis. |
| vAxis | [in] The V-axis. |
S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis)
uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear.
The orthonormal canonical coordinate system associated with a plane defined follows
@untitled table origin Origin of plane. originOfPlanarEntiity
axis1 A unit vector in the plane. uAxis.normal()
axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal()
The plane equation for this plane is as follows
a * X + b * Y + c * Z + d = 0
| OdGePlane& OdGePlane::set | ( | const OdGePoint3d & | point, |
| const OdGeVector3d & | normal | ||
| ) |
Sets the parameters for this plane according to the arguments.
| normal | [in] The normal to the plane. |
S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis)
uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear.
The orthonormal canonical coordinate system associated with a plane defined follows
@untitled table origin Origin of plane. originOfPlanarEntiity
axis1 A unit vector in the plane. uAxis.normal()
axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal()
The plane equation for this plane is as follows
a * X + b * Y + c * Z + d = 0
| OdGePlane& OdGePlane::set | ( | const OdGePoint3d & | uPnt, |
| const OdGePoint3d & | origin, | ||
| const OdGePoint3d & | vPnt | ||
| ) |
Sets the parameters for this plane according to the arguments.
| origin | [in] Origin of plane. |
| uPnt | [in] A point at the end of the U-axis. |
| vPnt | [in] A point at the end of the V-axis. |
S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis)
uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear.
The orthonormal canonical coordinate system associated with a plane defined follows
@untitled table origin Origin of plane. originOfPlanarEntiity
axis1 A unit vector in the plane. uAxis.normal()
axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal()
The plane equation for this plane is as follows
a * X + b * Y + c * Z + d = 0
| OdGePlane& OdGePlane::set | ( | double | a, |
| double | b, | ||
| double | c, | ||
| double | d | ||
| ) |
Sets the parameters for this plane according to the arguments.
| a | [in] Coefficient a. |
| b | [in] Coefficient b. |
| c | [in] Coefficient c. |
| d | [in] Coefficient d. |
S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis)
uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear.
The orthonormal canonical coordinate system associated with a plane defined follows
@untitled table origin Origin of plane. originOfPlanarEntiity
axis1 A unit vector in the plane. uAxis.normal()
axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal()
The plane equation for this plane is as follows
a * X + b * Y + c * Z + d = 0
| double OdGePlane::signedDistanceTo | ( | const OdGePoint3d & | point | ) | const |
Returns the signed distance to (elevation of) the specified point.
| point | [in] Any 3D point. |
| OdGePlane::TD_USING | ( | OdGePlanarEnt::intersectWith | ) |
Returns true and the intersection point or line, if and only if the specified line or plane intersects with this plane.
| line | [in] Any 3D linear entity. |
| plane | [in] Any plane. |
| intLine | [out] Receives the intersection line. |
| point | [out] Receives the intersection point. |
| tol | [in] Geometric tolerance. |
|
static |
|
static |
|
static |