CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGeCurveSurfInt Class Reference

#include <GeCurveSurfInt.h>

Inheritance diagram for OdGeCurveSurfInt:
OdGeEntity3d

Public Member Functions

 OdGeCurveSurfInt ()
 
 OdGeCurveSurfInt (const OdGeCurve3d &curve, const OdGeSurface &surface, const OdGeTol &tol=OdGeContext::gTol)
 
 OdGeCurveSurfInt (const OdGeCurveSurfInt &source)
 
const OdGeCurve3dcurve () const
 
const OdGeSurfacesurface () const
 
OdGeTol tolerance () const
 
int numIntPoints (OdGeIntersectError &status) const
 
OdGePoint3d intPoint (int intNum, OdGeIntersectError &status) const
 
void getIntParams (int intNum, double &param1, OdGePoint2d &param2, OdGeIntersectError &status) const
 
void getPointOnCurve (int intNum, OdGePointOnCurve3d &intPnt, OdGeIntersectError &status) const
 
void getPointOnSurface (int intNum, OdGePointOnSurface &intPnt, OdGeIntersectError &status) const
 
void getIntConfigs (int intNum, OdGe::csiConfig &lower, OdGe::csiConfig &higher, bool &smallAngle, OdGeIntersectError &status) const
 
OdGeCurveSurfIntset (const OdGeCurve3d &cvr, const OdGeSurface &surface, const OdGeTol &tol=OdGeContext::gTol)
 
OdGeCurveSurfIntoperator= (const OdGeCurveSurfInt &crvSurfInt)
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from OdGeEntity3d
 OdGeEntity3d ()
 
 OdGeEntity3d (const OdGeEntity3d &)
 
void connectTo (OdGeEntity3dImpl *)
 

Detailed Description

This class represents intersections of 3D curves and surfaces. Currently not implemented.

Remarks
The intersection object links to curve and surface objects, but does not contain them. Calculation of the intersection is performed by a calling function, which owns the intersection output.

If one of the objects is deleted, the intersection must be recalculated.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 51 of file GeCurveSurfInt.h.

Constructor & Destructor Documentation

◆ OdGeCurveSurfInt() [1/3]

OdGeCurveSurfInt::OdGeCurveSurfInt ( )
Parameters
curve[in] Any 3D curve.
surface[in] Any surface.
tol[in] Geometric tolerance.
source[in] Object to be cloned.

◆ OdGeCurveSurfInt() [2/3]

OdGeCurveSurfInt::OdGeCurveSurfInt ( const OdGeCurve3d curve,
const OdGeSurface surface,
const OdGeTol tol = OdGeContext::gTol 
)

◆ OdGeCurveSurfInt() [3/3]

OdGeCurveSurfInt::OdGeCurveSurfInt ( const OdGeCurveSurfInt source)

Member Function Documentation

◆ curve()

const OdGeCurve3d* OdGeCurveSurfInt::curve ( ) const

Returns the 3D curve.

◆ getIntConfigs()

void OdGeCurveSurfInt::getIntConfigs ( int  intNum,
OdGe::csiConfig lower,
OdGe::csiConfig higher,
bool &  smallAngle,
OdGeIntersectError status 
) const

Returns the configurations on either side of the surface at the intersection.

Parameters
intNum[in] The zero-based index of the intersection curve to return.
lower[out] Unknown.
higher[out] Unknown.
smallAngle[out] Unknown.
status[out] Receives the status of the intersection.
Remarks
Possible values for lower and higher are as follows:

@untitled table kXUnknown
kXOut
kXIn
kXTanOut
kXTanIn
kXCoincident
kXCoincidentUnbounded

Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ getIntParams()

void OdGeCurveSurfInt::getIntParams ( int  intNum,
double &  param1,
OdGePoint2d param2,
OdGeIntersectError status 
) const

Returns the parameters of the specified intersection point with respect to the curve and surface, and returns the status of the intersection.

Parameters
intNum[in] The zero-based index of the intersection curve to return.
param1[out] Receives the parameter of the intersection point with respect to the curve.
param2[out] Receives the parameter pair of the intersection point with respect to the surface.
status[out] Receives the status of the intersection.
Remarks
Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ getPointOnCurve()

void OdGeCurveSurfInt::getPointOnCurve ( int  intNum,
OdGePointOnCurve3d intPnt,
OdGeIntersectError status 
) const

Returns the intersection point on the curve, and returns the status of the intersection.

Parameters
intNum[in] The zero-based index of the intersection pooint to return.
intPnt[out] Receives the specified intersection point on the curve.
status[out] Receives the status of the intersection.
Remarks
Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ getPointOnSurface()

void OdGeCurveSurfInt::getPointOnSurface ( int  intNum,
OdGePointOnSurface intPnt,
OdGeIntersectError status 
) const

Returns the intersection point on the surface, and returns the status of the intersection.

Parameters
intNum[in] The zero-based index of the intersection point to return.
intPnt[out] Receives the specified intersection point on the surface.
status[out] Receives the status of the intersection.
Remarks
Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ intPoint()

OdGePoint3d OdGeCurveSurfInt::intPoint ( int  intNum,
OdGeIntersectError status 
) const

Returns a 3D point representing the specified intersection, and returns the status of the intersection.

Parameters
intNum[in] The zero-based index of the intersection curve to return.
status[out] Receives the status of the intersection.
Returns
Returns NULL if the dimension of this intersection is not 0 (not a 3D point).
Remarks
Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ numIntPoints()

int OdGeCurveSurfInt::numIntPoints ( OdGeIntersectError status) const

Returns the number of intersections between the curve and the surface, and returns the status of the intersection.

Parameters
status[out] Receives the status of the intersection.
Remarks
Possible values for status are as follows:

@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown

Remarks
Currently not implemented.

◆ operator=()

OdGeCurveSurfInt& OdGeCurveSurfInt::operator= ( const OdGeCurveSurfInt crvSurfInt)

◆ set()

OdGeCurveSurfInt& OdGeCurveSurfInt::set ( const OdGeCurve3d cvr,
const OdGeSurface surface,
const OdGeTol tol = OdGeContext::gTol 
)

Specifies the 3D curve, surface, and tolerance for determining intersections.

Parameters
curve[in] Any 3D curve.
surface[in] Any surface.
tol[in] Geometric tolerance.

◆ surface()

const OdGeSurface* OdGeCurveSurfInt::surface ( ) const

Returns the surface.

◆ tolerance()

OdGeTol OdGeCurveSurfInt::tolerance ( ) const

Returns the tolerance for determining intersections.


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