CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGeAugPolyline3d Class Reference

#include <GeAugPolyline3d.h>

Inheritance diagram for OdGeAugPolyline3d:
OdGePolyline3d OdGeSplineEnt3d OdGeCurve3d OdGeEntity3d

Public Member Functions

 OdGeAugPolyline3d ()
 
 OdGeAugPolyline3d (const OdGeAugPolyline3d &apline)
 
 OdGeAugPolyline3d (const OdGeKnotVector &knots, const OdGePoint3dArray &controlPoints, const OdGeVector3dArray &vecBundle)
 
 OdGeAugPolyline3d (const OdGePoint3dArray &controlPoints, const OdGeVector3dArray &vecBundle)
 
 OdGeAugPolyline3d (const OdGeCurve3d &curve, double fromParam, double toParam, double approxEps)
 
OdGeAugPolyline3d & operator= (const OdGeAugPolyline3d &apline)
 
OdGePoint3d getPoint (int index) const
 
OdGeAugPolyline3d & setPoint (int controlpointIndex, OdGePoint3d point)
 
void getPoints (OdGePoint3dArray &controlPoints) const
 
OdGeVector3d getVector (int vectorIndex) const
 
OdGeAugPolyline3d & setVector (int vectorIndex, OdGeVector3d vect)
 
void getD1Vectors (OdGeVector3dArray &tangents) const
 
OdGeVector3d getD2Vector (int vectorIndex) const
 
OdGeAugPolyline3d & setD2Vector (int vectorIndex, OdGeVector3d vect)
 
void getD2Vectors (OdGeVector3dArray &d2Vectors) const
 
double approxTol () const
 
OdGeAugPolyline3d & setApproxTol (double approxTol)
 
- Public Member Functions inherited from OdGePolyline3d
 OdGePolyline3d ()
 
 OdGePolyline3d (const OdGePolyline3d &source)
 
 OdGePolyline3d (const OdGePoint3dArray &points)
 
 OdGePolyline3d (const OdGeKnotVector &knots, const OdGePoint3dArray &controlPoints)
 
 OdGePolyline3d (const OdGeCurve3d &crv, double approxEps)
 
 OdGePolyline3d (OdInt32 numPoints, const OdGePoint3d *pPoints)
 
int numFitPoints () const
 
OdGePoint3d fitPointAt (int fitPointIndex) const
 
OdGeSplineEnt3d & setFitPointAt (int index, const OdGePoint3d &point)
 
OdGePolyline3d & operator= (const OdGePolyline3d &polyline)
 
OdGePoint3d evalPointSeg (double param, int &numSeg) const
 
- Public Member Functions inherited from OdGeSplineEnt3d
bool isRational () const
 
int degree () const
 
int order () const
 
int numKnots () const
 
const OdGeKnotVector & knots () const
 
int numControlPoints () const
 
int continuityAtKnot (int index, const OdGeTol &tol=OdGeContext::gTol) const
 
double startParam () const
 
double endParam () const
 
OdGePoint3d startPoint () const
 
OdGePoint3d endPoint () const
 
bool hasFitData () const
 
double knotAt (int knotIndex) const
 
OdGeSplineEnt3d & setKnotAt (int knotIndex, double val)
 
OdGePoint3d controlPointAt (int controlPointIndex) const
 
OdGeSplineEnt3d & setControlPointAt (int controlPointIndex, const OdGePoint3d &point)
 
OdGeSplineEnt3d & operator= (const OdGeSplineEnt3d &spline)
 
- Public Member Functions inherited from OdGeCurve3d
void getInterval (OdGeInterval &interval) const
 
void getInterval (OdGeInterval &interval, OdGePoint3d &start, OdGePoint3d &end) const
 
OdGeCurve3d & reverseParam ()
 
OdGeCurve3d & setInterval ()
 
bool setInterval (const OdGeInterval &interval)
 
double distanceTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
double distanceTo (const OdGeCurve3d &curve, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGeCurve3d &curve, OdGePoint3d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGePoint3d &point, OdGePointOnCurve3d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGeCurve3d &curve, OdGePointOnCurve3d &pntOnThisCrv, OdGePointOnCurve3d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d projClosestPointTo (const OdGePoint3d &point, const OdGeVector3d &projectDirection, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d projClosestPointTo (const OdGeCurve3d &curve, const OdGeVector3d &projectDirection, OdGePoint3d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getProjClosestPointTo (const OdGePoint3d &point, const OdGeVector3d &projectDirection, OdGePointOnCurve3d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getProjClosestPointTo (const OdGeCurve3d &curve, const OdGeVector3d &projectDirection, OdGePointOnCurve3d &pntOnThisCrv, OdGePointOnCurve3d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
bool getNormalPoint (const OdGePoint3d &point, OdGePointOnCurve3d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeBoundBlock3d boundBlock () const
 
OdGeBoundBlock3d boundBlock (const OdGeInterval &range) const
 
OdGeBoundBlock3d orthoBoundBlock () const
 
OdGeBoundBlock3d orthoBoundBlock (const OdGeInterval &range) const
 
OdGeEntity3d * project (const OdGePlane &projectionPlane, const OdGeVector3d &projectDirection, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity3d * orthoProject (const OdGePlane &projectionPlane, const OdGeTol &tol=OdGeContext::gTol) const
 
 TD_USING (OdGeEntity3d::isOn)
 
bool isOn (const OdGePoint3d &point, double &param, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isOn (double param, const OdGeTol &tol=OdGeContext::gTol) const
 
double paramOf (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
void getTrimmedOffset (double distance, const OdGeVector3d &planeNormal, OdGeCurve3dPtrArray &offsetCurveList, OdGe::OffsetCrvExtType extensionType=OdGe::kFillet, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isClosed (const OdGeTol &tol=OdGeContext::gTol) const
 
bool isPlanar (OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isLinear (OdGeLine3d &line, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isCoplanarWith (const OdGeCurve3d &curve, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isPeriodic (double &period) const
 
double length (double fromParam, double toParam, double tol=OdGeContext::gTol.equalPoint()) const
 
double length (double tol=OdGeContext::gTol.equalPoint()) const
 
double paramAtLength (double datumParam, double length, bool posParamDir=true, double tol=OdGeContext::gTol.equalPoint()) const
 
bool area (double startParam, double endParam, double &value, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isDegenerate (OdGe::EntityId &degenerateType, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isDegenerate (OdGeEntity3d *&pConvertedEntity, const OdGeTol &tol=OdGeContext::gTol) const
 
void getSplitCurves (double param, OdGeCurve3d *&piece1, OdGeCurve3d *&piece2) const
 
bool explode (OdGeCurve3dPtrArray &explodedCurves, OdGeIntArray &newExplodedCurves, const OdGeInterval *pInterval=NULL) const
 
void getLocalClosestPoints (const OdGePoint3d &point, OdGePointOnCurve3d &approxPntOnThisCrv, const OdGeInterval *pInterval1=NULL, const OdGeTol &tol=OdGeContext::gTol) const
 
void getLocalClosestPoints (const OdGeCurve3d &curve, OdGePointOnCurve3d &approxPntOnThisCrv, OdGePointOnCurve3d &approxPntOnOtherCrv, const OdGeInterval *pInterval1=NULL, const OdGeInterval *pInterval2=NULL, const OdGeTol &tol=OdGeContext::gTol) const
 
bool hasStartPoint (OdGePoint3d &startPoint) const
 
bool hasEndPoint (OdGePoint3d &endPoint) const
 
OdGePoint3d evalPoint (double param) const
 
OdGePoint3d evalPoint (double param, int numDeriv, OdGeVector3dArray &derivatives) const
 
void getSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint3dArray &pointArray, OdGeDoubleArray &paramArray, bool forceResampling=false) const
 
void getSamplePoints (int numSample, OdGePoint3dArray &pointArray) const
 
void getSamplePoints (int numSample, OdGePoint3dArray &pointArray, OdGeDoubleArray &paramArray) const
 
OdGeCurve3d & operator= (const OdGeCurve3d &curve)
 
void getSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint3dArray &pointArray, OdGeDoubleArray *paramArray=NULL) const
 
void getSamplePoints (const OdGeInterval *paramInterval, double approxEps, OdGePoint3dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
void appendSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint3dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
void appendSamplePoints (int numSample, OdGePoint3dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
void appendSamplePoints (const OdGeInterval *paramInterval, double approxEps, OdGePoint3dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
- Public Member Functions inherited from OdGeEntity3d
 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity3d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity3d * copy () const
 
OdGeEntity3d & operator= (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
 
OdGeEntity3d & transformBy (const OdGeMatrix3d &xfm)
 
OdGeEntity3d & translateBy (const OdGeVector3d &translateVec)
 
OdGeEntity3d & rotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
OdGeEntity3d & mirror (const OdGePlane &plane)
 
OdGeEntity3d & scaleBy (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 OdGeSplineEnt3d
 OdGeSplineEnt3d ()
 
 OdGeSplineEnt3d (const OdGeSplineEnt3d &)
 
- Protected Member Functions inherited from OdGeCurve3d
 OdGeCurve3d ()
 
 OdGeCurve3d (const OdGeCurve3d &source)
 
- Protected Member Functions inherited from OdGeEntity3d
 OdGeEntity3d ()
 
 OdGeEntity3d (const OdGeEntity3d &)
 
void connectTo (OdGeEntity3dImpl *)
 

Detailed Description

This class represents mathematical entities used to support various types of spline curves in 3D space.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 41 of file GeAugPolyline3d.h.

Constructor & Destructor Documentation

◆ OdGeAugPolyline3d() [1/5]

OdGeAugPolyline3d::OdGeAugPolyline3d ( )
Parameters
curve[in] Any 3D curve.
fromParam[in] Starting parameter value.
toParam[in] Ending parameter value.
approxEps[in] Approximate spacing along a curve.
knots[in] Knot vector.
controlPoints[in] Control point array.
vecBundle[in] Vector array.
source[in] Object to be cloned.

◆ OdGeAugPolyline3d() [2/5]

OdGeAugPolyline3d::OdGeAugPolyline3d ( const OdGeAugPolyline3d &  apline)

◆ OdGeAugPolyline3d() [3/5]

OdGeAugPolyline3d::OdGeAugPolyline3d ( const OdGeKnotVector &  knots,
const OdGePoint3dArray &  controlPoints,
const OdGeVector3dArray &  vecBundle 
)

◆ OdGeAugPolyline3d() [4/5]

OdGeAugPolyline3d::OdGeAugPolyline3d ( const OdGePoint3dArray &  controlPoints,
const OdGeVector3dArray &  vecBundle 
)

◆ OdGeAugPolyline3d() [5/5]

OdGeAugPolyline3d::OdGeAugPolyline3d ( const OdGeCurve3d &  curve,
double  fromParam,
double  toParam,
double  approxEps 
)

Member Function Documentation

◆ approxTol()

double OdGeAugPolyline3d::approxTol ( ) const

Returns the approximate tolerance that was used to construct the polyline.

◆ getD1Vectors()

void OdGeAugPolyline3d::getD1Vectors ( OdGeVector3dArray &  tangents) const

Returns an array of the tangents (first derivative vectors) to the curve at each control point.

Parameters
tangents[out] Receives an array of tangents.
Remarks
Currently not implemented.

◆ getD2Vector()

OdGeVector3d OdGeAugPolyline3d::getD2Vector ( int  vectorIndex) const

Returns the second derivative vector at the specified index.

Parameters
vectorIndex[in] Vector index.
Remarks
Currently not implemented.

◆ getD2Vectors()

void OdGeAugPolyline3d::getD2Vectors ( OdGeVector3dArray &  d2Vectors) const

Returns an array of the second derivative vectors to the curve at each control point.

d2Vectors Returns an array of second derivative cectors.

Remarks
Currently not implemented.

◆ getPoint()

OdGePoint3d OdGeAugPolyline3d::getPoint ( int  index) const

Returns the control point at the specified index.

Parameters
cpIndex[in] Control point index.
Remarks
Currently not implemented.

◆ getPoints()

void OdGeAugPolyline3d::getPoints ( OdGePoint3dArray &  controlPoints) const

Returns the array of control points.

Parameters
controlPoints[out] Receives an array of control points.

◆ getVector()

OdGeVector3d OdGeAugPolyline3d::getVector ( int  vectorIndex) const

Returns the vector at the specified index.

Parameters
vectorIndex[in] Vector index.
Remarks
Currently not implemented.

◆ operator=()

OdGeAugPolyline3d& OdGeAugPolyline3d::operator= ( const OdGeAugPolyline3d &  apline)

◆ setApproxTol()

OdGeAugPolyline3d& OdGeAugPolyline3d::setApproxTol ( double  approxTol)

Sets the approximate tolerance to be used to construct the polyline, and returns a reference to this polyline.

Remarks
This method recomputes the polyline.

◆ setD2Vector()

OdGeAugPolyline3d& OdGeAugPolyline3d::setD2Vector ( int  vectorIndex,
OdGeVector3d  vect 
)

Sets the second derivative vector at the specified index, and returns a reference to this curve.

Parameters
vectorIndex[in] Vector index.
vect[in] Second derivative vector.
Remarks
Currently not implemented.

◆ setPoint()

OdGeAugPolyline3d& OdGeAugPolyline3d::setPoint ( int  controlpointIndex,
OdGePoint3d  point 
)

Sets the control point at the specified index, and returns a reference to this curve.

Parameters
controlpointIndex[in] Control point index.
point[in] Any 3D point.

◆ setVector()

OdGeAugPolyline3d& OdGeAugPolyline3d::setVector ( int  vectorIndex,
OdGeVector3d  vect 
)

Sets the vector at the specified index, and returns a reference to this curve.

Parameters
vectorIndex[in] Vector index.
vect[in] Any 3D vector.
Remarks
Currently not implemented.

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