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

#include <GeSplineEnt2d.h>

Inheritance diagram for OdGeSplineEnt2d:
OdGeCurve2d OdGeEntity2d OdGeCubicSplineCurve2d OdGeNurbCurve2d OdGePolyline2d OdGeSegmentChain2d

Public Member Functions

bool isRational () const
 
int degree () const
 
int order () const
 
int numKnots () const
 
const OdGeKnotVectorknots () const
 
int numControlPoints () const
 
int continuityAtKnot (int knotIndex, const OdGeTol &tol=OdGeContext::gTol) const
 
double startParam () const
 
double endParam () const
 
OdGePoint2d startPoint () const
 
OdGePoint2d endPoint () const
 
bool hasFitData () const
 
double knotAt (int knotIndex) const
 
OdGeSplineEnt2dsetKnotAt (int knotIndex, double val)
 
OdGePoint2d controlPointAt (int controlPointIndex) const
 
OdGeSplineEnt2dsetControlPointAt (int controlPointIndex, const OdGePoint2d &point)
 
OdGeSplineEnt2doperator= (const OdGeSplineEnt2d &spline)
 
- Public Member Functions inherited from OdGeCurve2d
OdGeCurve3dconvertTo3d () const
 
void convertTo3d (OdGeCurve3d &curve3d) const
 
void getInterval (OdGeInterval &interval) const
 
void getInterval (OdGeInterval &interval, OdGePoint2d &start, OdGePoint2d &end) const
 
OdGeCurve2dreverseParam ()
 
OdGeCurve2dsetInterval ()
 
bool setInterval (const OdGeInterval &interval)
 
double distanceTo (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
double distanceTo (const OdGeCurve2d &otherCur, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint2d closestPointTo (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint2d closestPointTo (const OdGePoint2d &point, double &param, const OdGeInterval *range, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint2d closestPointTo (const OdGeCurve2d &curve2d, OdGePoint2d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGePoint2d &point, OdGePointOnCurve2d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGeCurve2d &curve2d, OdGePointOnCurve2d &pntOnThisCrv, OdGePointOnCurve2d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
bool getNormalPoint (const OdGePoint2d &point, OdGePointOnCurve2d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
 
 TD_USING (OdGeEntity2d::isOn)
 
bool isOn (const OdGePoint2d &point, double &param, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isOn (double param, const OdGeTol &tol=OdGeContext::gTol) const
 
double paramOf (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
double paramOf (const OdGePoint2d &point, const OdGeInterval *range, const OdGeTol &tol) const
 
void getTrimmedOffset (double distance, OdGeCurve2dPtrArray &offsetCurveList, OdGe::OffsetCrvExtType extensionType=OdGe::kFillet, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isClosed (const OdGeTol &tol=OdGeContext::gTol) const
 
bool isPeriodic (double &period) const
 
bool isLinear (OdGeLine2d &line, const OdGeTol &tol=OdGeContext::gTol) 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 (OdGeEntity2d *&pConvertedEntity, const OdGeTol &tol=OdGeContext::gTol) const
 
void getSplitCurves (double param, OdGeCurve2d *&piece1, OdGeCurve2d *&piece2) const
 
bool explode (OdGeCurve2dPtrArray &explodedCurves, OdGeIntArray &newExplodedCurve, const OdGeInterval *interval=NULL) const
 
void getLocalClosestPoints (const OdGePoint2d &point, OdGePointOnCurve2d &approxPnt, const OdGeInterval *nbhd=NULL, const OdGeTol &tol=OdGeContext::gTol) const
 
void getLocalClosestPoints (const OdGeCurve2d &otherCurve, OdGePointOnCurve2d &approxPntOnThisCrv, OdGePointOnCurve2d &approxPntOnOtherCrv, const OdGeInterval *nbhd1=NULL, const OdGeInterval *nbhd2=NULL, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeBoundBlock2d boundBlock () const
 
OdGeBoundBlock2d boundBlock (const OdGeInterval &range) const
 
OdGeBoundBlock2d orthoBoundBlock () const
 
OdGeBoundBlock2d orthoBoundBlock (const OdGeInterval &range) const
 
OdGeExtents2d getGeomExtents (const OdGeInterval &range=OdGeInterval(), const OdGeMatrix2d *coordSystem=NULL) const
 
bool hasStartPoint (OdGePoint2d &startPoint) const
 
bool hasEndPoint (OdGePoint2d &endPoint) const
 
bool hasMidPoint (OdGePoint2d &point, double coef=0.5) const
 
OdGePoint2d midPoint (double coef=0.5) const
 
OdGePoint2d evalPoint (double param) const
 
OdGePoint2d evalPoint (double param, int numDeriv, OdGeVector2dArray &derivatives) const
 
void getSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray &paramArray) const
 
void getSamplePoints (int numSample, OdGePoint2dArray &pointArray) const
 
OdGeCurve2doperator= (const OdGeCurve2d &curve)
 
void getSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
void appendSamplePoints (double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
 
void appendSamplePoints (int numSample, OdGePoint2dArray &pointArray) const
 
- Public Member Functions inherited from OdGeEntity2d
 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity2d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity2dcopy () const
 
OdGeEntity2doperator= (const OdGeEntity2d &entity)
 
bool operator== (const OdGeEntity2d &entity) const
 
bool operator!= (const OdGeEntity2d &entity) const
 
bool isEqualTo (const OdGeEntity2d &other, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity2dtransformBy (const OdGeMatrix2d &xfm)
 
OdGeEntity2dtranslateBy (const OdGeVector2d &translateVec)
 
OdGeEntity2drotateBy (double angle, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
OdGeEntity2dmirror (const OdGeLine2d &line)
 
OdGeEntity2dscaleBy (double scaleFactor, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
bool isOn (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 

Protected Member Functions

 OdGeSplineEnt2d ()
 
 OdGeSplineEnt2d (const OdGeSplineEnt2d &spline)
 
- Protected Member Functions inherited from OdGeCurve2d
 OdGeCurve2d ()
 
 OdGeCurve2d (const OdGeCurve2d &source)
 
- Protected Member Functions inherited from OdGeEntity2d
 OdGeEntity2d ()
 
 OdGeEntity2d (const OdGeEntity2d &)
 
void connectTo (OdGeEntity2dImpl *)
 

Additional Inherited Members

- Static Public Member Functions inherited from OdGeCurve2d
static OdGeCurve2drestoreUvCurve (const OdGeCurve3d *curve, const OdGeSurface *surface, const OdGeTol &tol=OdGeContext::gTol)
 

Detailed Description

This class represents various spline objects in 2D space. Currently not implemented.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 41 of file GeSplineEnt2d.h.

Constructor & Destructor Documentation

◆ OdGeSplineEnt2d() [1/2]

OdGeSplineEnt2d::OdGeSplineEnt2d ( )
protected

◆ OdGeSplineEnt2d() [2/2]

OdGeSplineEnt2d::OdGeSplineEnt2d ( const OdGeSplineEnt2d spline)
protected

Member Function Documentation

◆ continuityAtKnot()

int OdGeSplineEnt2d::continuityAtKnot ( int  knotIndex,
const OdGeTol tol = OdGeContext::gTol 
) const

Returns the degree of the highest derivative that is defined at a specified knot.

Parameters
knotIndex[in] Knot index.
tol[in] Geometric tolerance.
Remarks
Currently not implemented.

◆ controlPointAt()

OdGePoint2d OdGeSplineEnt2d::controlPointAt ( int  controlPointIndex) const

Returns the specified control point in the control point array.

Parameters
controlPointIndex[in] Control point index.
Returns
An instance of the OdGePoint2d class.

◆ degree()

int OdGeSplineEnt2d::degree ( ) const

Returns the degree of the spline.

Remarks
Currently not implemented.

◆ endParam()

double OdGeSplineEnt2d::endParam ( ) const

Returns the parameter corresponding to the end point of this spline.

Remarks
Currently not implemented.

◆ endPoint()

OdGePoint2d OdGeSplineEnt2d::endPoint ( ) const

Returns the end point of this spline.

Returns
An instance of the OdGePoint2d class.
Remarks
Currently not implemented.

◆ hasFitData()

bool OdGeSplineEnt2d::hasFitData ( ) const

Returns true if and only if the spline is constructed using fit points.

Remarks
Currently not implemented.

◆ isRational()

bool OdGeSplineEnt2d::isRational ( ) const

Returns true if and only if the spline is rational or a polynomial.

Remarks
This function is meaningful only for OdGeNurbCurve2d objects derived from OdGeSplineEnt2d.
Currently not implemented.

◆ knotAt()

double OdGeSplineEnt2d::knotAt ( int  knotIndex) const

Returns a knot value for the specified knot.

Parameters
knotIndex[in] Knot index.
Remarks
Currently not implemented.

◆ knots()

const OdGeKnotVector & OdGeSplineEnt2d::knots ( ) const

Returns the knot vector.

Remarks
Currently not implemented.

◆ numControlPoints()

int OdGeSplineEnt2d::numControlPoints ( ) const

Returns the number of points in the control point array.

◆ numKnots()

int OdGeSplineEnt2d::numKnots ( ) const

Returns the number of knots in the knot vector.

Remarks
Currently not implemented.

◆ operator=()

OdGeSplineEnt2d & OdGeSplineEnt2d::operator= ( const OdGeSplineEnt2d spline)

Assignment operator for the OdGeSplineEnt2d object.

Parameters
spline[in] Input OdGeSplineEnt2d object.
Returns
A reference to this spline entity.

◆ order()

int OdGeSplineEnt2d::order ( ) const

Returns the order of the spline.

Remarks
Currently not implemented.

◆ setControlPointAt()

OdGeSplineEnt2d & OdGeSplineEnt2d::setControlPointAt ( int  controlPointIndex,
const OdGePoint2d point 
)

Sets the specified control point in the control point array.

Parameters
controlPointIndex[in] Control point index.
point[in] Control point.
Returns
A reference to this spline entity.

◆ setKnotAt()

OdGeSplineEnt2d & OdGeSplineEnt2d::setKnotAt ( int  knotIndex,
double  val 
)

Sets the knot value for the specified knot.

Parameters
knotIndex[in] Knot index.
val[in] The new value for the knot.
Remarks
Currently not implemented.
Returns
A reference to this spline entity.

◆ startParam()

double OdGeSplineEnt2d::startParam ( ) const

Returns the parameter corresponding to the start point of this spline.

Remarks
Currently not implemented.

◆ startPoint()

OdGePoint2d OdGeSplineEnt2d::startPoint ( ) const

Returns the start point of this spline.

Returns
An instance of the OdGePoint2d class.
Remarks
Currently not implemented.

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