CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
OdGePlane Class Reference

#include <GePlane.h>

Inheritance diagram for OdGePlane:
OdGePlanarEnt OdGeSurface OdGeEntity3d

Public Member Functions

 OdGePlane ()
 
 OdGePlane (const OdGePlane &plane)
 
 OdGePlane (const OdGePoint3d &origin, const OdGeVector3d &normal)
 
 OdGePlane (const OdGePoint3d &uPnt, const OdGePoint3d &origin, const OdGePoint3d &vPnt)
 
 OdGePlane (const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
 
 OdGePlane (double a, double b, double c, double d)
 
 TD_USING (OdGePlanarEnt::intersectWith)
 
bool intersectWith (const OdGePlane &plane, OdGeLine3d &intLine, const OdGeTol &tol=OdGeContext::gTol) const
 
bool intersectWith (const OdGeBoundedPlane &plane, OdGeLineSeg3d &intLine, const OdGeTol &tol=OdGeContext::gTol) const
 
double signedDistanceTo (const OdGePoint3d &point) const
 
OdGePlaneset (const OdGePoint3d &point, const OdGeVector3d &normal)
 
OdGePlaneset (const OdGePoint3d &uPnt, const OdGePoint3d &origin, const OdGePoint3d &vPnt)
 
OdGePlaneset (double a, double b, double c, double d)
 
OdGePlaneset (const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
 
OdGePlaneoperator= (const OdGePlane &plane)
 
- Public Member Functions inherited from OdGePlanarEnt
bool isOnPlane (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
bool intersectWith (const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointToLinearEnt (const OdGeLinearEnt3d &line, OdGePoint3d &pointOnLine, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointToPlanarEnt (const OdGePlanarEnt &plane, OdGePoint3d &pointOnOtherPlane, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isParallelTo (const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isParallelTo (const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isPerpendicularTo (const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isPerpendicularTo (const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isCoplanarTo (const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
 
void get (OdGePoint3d &origin, OdGeVector3d &uAxis, OdGeVector3d &vAxis) const
 
void get (OdGePoint3d &uPnt, OdGePoint3d &origin, OdGePoint3d &vPnt) const
 
OdGePoint3d pointOnPlane () const
 
OdGeVector3d normal () const
 
void getCoefficients (double &a, double &b, double &c, double &d) const
 
void getCoordSystem (OdGePoint3d &origin, OdGeVector3d &axis1, OdGeVector3d &axis2) const
 
OdGePlanarEntoperator= (const OdGePlanarEnt &plane)
 
 TD_USING (OdGeSurface::project)
 
bool project (const OdGePoint3d &p, const OdGeVector3d &unitDir, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
 
- Public Member Functions inherited from OdGeSurface
OdGePoint2d paramOf (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint2d paramOf (const OdGePoint3d &point, const OdGeUvBox *uvBox, const OdGeTol &tol=OdGeContext::gTol) const
 
 TD_USING (OdGeEntity3d::isOn)
 
bool isOn (const OdGePoint3d &point, OdGePoint2d &paramPoint, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGePoint3d &point, OdGePoint2d *param, const OdGeUvBox *uvBox, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGePoint3d &point, OdGePointOnSurface &pntOnSurface, const OdGeTol &tol=OdGeContext::gTol) const
 
double distanceTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isNormalReversed () const
 
bool isLeftHanded () const
 
OdGeSurfacereverseNormal ()
 
void getEnvelope (OdGeInterval &intrvlU, OdGeInterval &intrvlV) const
 
void getEnvelope (OdGeUvBox &uvbox) const
 
bool isClosedInU (const OdGeTol &tol=OdGeContext::gTol) const
 
bool isClosedInV (const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param, int numDeriv, OdGeVector3dArray &derivatives) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param, int numDeriv, OdGeVector3dArray &derivatives, OdGeVector3d &normal) const
 
OdGeSurfaceoperator= (const OdGeSurface &surf)
 
OdGeExtents3d getGeomExtents (const OdGeUvBox &range=OdGeUvBox(), const OdGeMatrix3d *coordSystem=NULL) const
 
bool project (const OdGePoint3d &p, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
 
bool setEnvelope (const OdGeInterval &realIntrvlU, const OdGeInterval &realIntrvlV)
 
OdGeCurve3dmakeIsoparamCurve (bool byU, double param) const
 
OdGeCurve3dmakeIsoparamCurve (bool byU, double param, const OdGeInterval &interval) const
 
bool getPoles (OdGeDoubleArray *uParams, OdGeDoubleArray *vParams, OdGePoint3dArray *uPoints, OdGePoint3dArray *vPoints, double tol=1e-13) const
 
- Public Member Functions inherited from OdGeEntity3d
 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity3d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity3dcopy () const
 
OdGeEntity3doperator= (const OdGeEntity3d &entity)
 
bool operator== (const OdGeEntity3d &entity) const
 
bool operator!= (const OdGeEntity3d &entity) const
 
bool isEqualTo (const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity3dtransformBy (const OdGeMatrix3d &xfm)
 
OdGeEntity3dtranslateBy (const OdGeVector3d &translateVec)
 
OdGeEntity3drotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
OdGeEntity3dmirror (const OdGePlane &plane)
 
OdGeEntity3dscaleBy (double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
bool isOn (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 

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 *)
 

Detailed Description

This class represents infinite planes in 3D space.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

See also
<link ge_OdGePlane, Working with Planes>
<link OdGePlanarEnt, OdGePlanarEnt Class>

Definition at line 46 of file GePlane.h.

Constructor & Destructor Documentation

◆ OdGePlane() [1/6]

OdGePlane::OdGePlane ( )

Default constructor for the OdGePlane class. Constructs an infinite plane coincident with the XY plane.

◆ OdGePlane() [2/6]

OdGePlane::OdGePlane ( const OdGePlane plane)

Copy constructor for the OdGePlane class.

Parameters
plane[in] Plane to be copied.
Remarks
Currently not implemented.

◆ OdGePlane() [3/6]

OdGePlane::OdGePlane ( const OdGePoint3d origin,
const OdGeVector3d normal 
)

Constructor for the OdGePlane class.

Parameters
origin[in] Origin of plane.
normal[in] The normal to the plane.
Remarks

Constructs the plane with the specified origin, uAxis= normal.perpVector(), and vAxis=normal.crossProduct(uAxis).

◆ OdGePlane() [4/6]

OdGePlane::OdGePlane ( const OdGePoint3d uPnt,
const OdGePoint3d origin,
const OdGePoint3d vPnt 
)

Constructor for the OdGePlane class.

Parameters
uPnt[in] A point at the end of the U-axis.
origin[in] Origin of plane.
vPnt[in] A point at the end of the V-axis.
Remarks

Constructs the plane with origin=or, uAxis=v1, and vAxis=v2. Vectors v1=pntU-or and v2=pntV-or are non-collinear.

◆ OdGePlane() [5/6]

OdGePlane::OdGePlane ( const OdGePoint3d origin,
const OdGeVector3d uAxis,
const OdGeVector3d vAxis 
)

Constructor for the OdGePlane class.

Parameters
origin[in] Origin of plane.
uAxis[in] The U-axis.
vAxis[in] The V-axis.
Remarks

Constructs the plane with origin, U axis uAxis, and V axis vAxis. Vectors uAxis and vAxis are non-collinear.

◆ OdGePlane() [6/6]

OdGePlane::OdGePlane ( double  a,
double  b,
double  c,
double  d 
)

Constructor for the OdGePlane class.

Parameters
a[in] Coefficient a.
b[in] Coefficient b.
c[in] Coefficient c.
d[in] Coefficient d.

Member Function Documentation

◆ intersectWith() [1/2]

bool OdGePlane::intersectWith ( const OdGeBoundedPlane plane,
OdGeLineSeg3d intLine,
const OdGeTol tol = OdGeContext::gTol 
) const

Returns true and the intersection line segment, if and only if the specified bounded plane intersects with this plane.

Parameters
plane[in] Any bounded plane with which the intersection is computed.
intLine[out] Receives the intersection line segment.
tol[in] Geometric tolerance.

◆ intersectWith() [2/2]

bool OdGePlane::intersectWith ( const OdGePlane plane,
OdGeLine3d intLine,
const OdGeTol tol = OdGeContext::gTol 
) const

Returns true and the intersection line, if and only if the specified plane intersects with this plane.

Parameters
plane[in] Any plane with which the intersection is computed.
intLine[out] Receives the intersection line.
tol[in] Geometric tolerance.

◆ operator=()

OdGePlane & OdGePlane::operator= ( const OdGePlane plane)

Assignment operator for the OdGePlane object.

Parameters
plane[in] Plane to assign.
Returns
Reference to this OdGePlane object.

◆ set() [1/4]

OdGePlane & OdGePlane::set ( const OdGePoint3d origin,
const OdGeVector3d uAxis,
const OdGeVector3d vAxis 
)

Sets the parameters for this plane according to the arguments.

Parameters
origin[in] Origin of plane.
uAxis[in] The U-axis.
vAxis[in] The V-axis.
Returns
Reference to this plane.

◆ set() [2/4]

OdGePlane & OdGePlane::set ( const OdGePoint3d point,
const OdGeVector3d normal 
)

Sets the parameters for this plane according to the arguments.

Parameters
point[in] Plane origin.
normal[in] The normal to the plane.
Returns
Reference to this plane.

◆ set() [3/4]

OdGePlane & OdGePlane::set ( const OdGePoint3d uPnt,
const OdGePoint3d origin,
const OdGePoint3d vPnt 
)

Sets the parameters for this plane according to the arguments.

Parameters
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.
Returns
Reference to this plane.

◆ set() [4/4]

OdGePlane & OdGePlane::set ( double  a,
double  b,
double  c,
double  d 
)

Sets the parameters for this plane according to the arguments.

Parameters
a[in] Coefficient a.
b[in] Coefficient b.
c[in] Coefficient c.
d[in] Coefficient d.
Returns
Reference to this plane.

◆ signedDistanceTo()

double OdGePlane::signedDistanceTo ( const OdGePoint3d point) const

Returns the signed distance to (elevation of) the specified point.

Parameters
point[in] Any 3D point.
Remarks
Returns the signed distance from the specified point to this plane. The sign of the result is the same as the sign of the dot product of the vector: point - originOfPlane and the normal to the plane.

◆ TD_USING()

OdGePlane::TD_USING ( OdGePlanarEnt::intersectWith  )

Member Data Documentation

◆ kXYPlane

GE_STATIC_EXPORT const OdGePlane OdGePlane::kXYPlane
static

Definition at line 51 of file GePlane.h.

◆ kYZPlane

GE_STATIC_EXPORT const OdGePlane OdGePlane::kYZPlane
static

Definition at line 52 of file GePlane.h.

◆ kZXPlane

GE_STATIC_EXPORT const OdGePlane OdGePlane::kZXPlane
static

Definition at line 53 of file GePlane.h.


The documentation for this class was generated from the following file: