24#ifndef OD_GE_CURVE_2D_H
25#define OD_GE_CURVE_2D_H
31class OdGePointOnCurve2dData;
417 double& period)
const;
504 double startParam,
double endParam,
719 double coef = 0.5)
const;
741 double coef = 0.5)
const;
#define GE_TOOLKIT_EXPORT
bool isOn(const OdGePoint2d &point, double ¶m, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock2d boundBlock() const
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
OdGeCurve3d * convertTo3d() const
static OdGeCurve2d * restoreUvCurve(const OdGeCurve3d *curve, const OdGeSurface *surface, const OdGeTol &tol=OdGeContext::gTol)
TD_USING(OdGeEntity2d::isOn)
double paramOf(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCurve2d & setInterval()
OdGePoint2d midPoint(double coef=0.5) const
double length(double tol=OdGeContext::gTol.equalPoint()) const
bool isClosed(const OdGeTol &tol=OdGeContext::gTol) const
OdGeCurve2d & reverseParam()
double paramOf(const OdGePoint2d &point, const OdGeInterval *range, const OdGeTol &tol) const
void appendSamplePoints(int numSample, OdGePoint2dArray &pointArray) const
void appendSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray *pParamArray=NULL) const
void getLocalClosestPoints(const OdGePoint2d &point, OdGePointOnCurve2d &approxPnt, const OdGeInterval *nbhd=NULL, const OdGeTol &tol=OdGeContext::gTol) const
bool isDegenerate(OdGe::EntityId °enerateType, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint2d evalPoint(double param, int numDeriv, OdGeVector2dArray &derivatives) const
OdGePoint2d closestPointTo(const OdGeCurve2d &curve2d, OdGePoint2d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
bool isLinear(OdGeLine2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeBoundBlock2d orthoBoundBlock(const OdGeInterval &range) const
void getLocalClosestPoints(const OdGeCurve2d &otherCurve, OdGePointOnCurve2d &approxPntOnThisCrv, OdGePointOnCurve2d &approxPntOnOtherCrv, const OdGeInterval *nbhd1=NULL, const OdGeInterval *nbhd2=NULL, const OdGeTol &tol=OdGeContext::gTol) const
bool isPeriodic(double &period) const
OdGePoint2d evalPoint(double param) const
bool isOn(double param, const OdGeTol &tol=OdGeContext::gTol) const
bool area(double startParam, double endParam, double &value, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCurve2d(const OdGeCurve2d &source)
OdGeBoundBlock2d orthoBoundBlock() const
OdGeBoundBlock2d boundBlock(const OdGeInterval &range) const
bool hasMidPoint(OdGePoint2d &point, double coef=0.5) const
double paramAtLength(double datumParam, double length, bool posParamDir=true, double tol=OdGeContext::gTol.equalPoint()) const
void getSamplePoints(int numSample, OdGePoint2dArray &pointArray) const
bool explode(OdGeCurve2dPtrArray &explodedCurves, OdGeIntArray &newExplodedCurve, const OdGeInterval *interval=NULL) const
void convertTo3d(OdGeCurve3d &curve3d) const
void getInterval(OdGeInterval &interval) const
double length(double fromParam, double toParam, double tol=OdGeContext::gTol.equalPoint()) const
OdGePoint2d closestPointTo(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
bool getNormalPoint(const OdGePoint2d &point, OdGePointOnCurve2d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint2d closestPointTo(const OdGePoint2d &point, double ¶m, const OdGeInterval *range, const OdGeTol &tol=OdGeContext::gTol) const
void getInterval(OdGeInterval &interval, OdGePoint2d &start, OdGePoint2d &end) const
void getTrimmedOffset(double distance, OdGeCurve2dPtrArray &offsetCurveList, OdGe::OffsetCrvExtType extensionType=OdGe::kFillet, const OdGeTol &tol=OdGeContext::gTol) const
void getClosestPointTo(const OdGePoint2d &point, OdGePointOnCurve2d &pntOnCrv, const OdGeTol &tol=OdGeContext::gTol) const
double distanceTo(const OdGeCurve2d &otherCur, const OdGeTol &tol=OdGeContext::gTol) const
double distanceTo(const OdGePoint2d &point, 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
OdGeExtents2d getGeomExtents(const OdGeInterval &range=OdGeInterval(), const OdGeMatrix2d *coordSystem=NULL) const
void getSamplePoints(double fromParam, double toParam, double approxEps, OdGePoint2dArray &pointArray, OdGeDoubleArray ¶mArray) const
bool setInterval(const OdGeInterval &interval)
bool hasEndPoint(OdGePoint2d &endPoint) const
void getClosestPointTo(const OdGeCurve2d &curve2d, OdGePointOnCurve2d &pntOnThisCrv, OdGePointOnCurve2d &pntOnOtherCrv, const OdGeTol &tol=OdGeContext::gTol) const
bool hasStartPoint(OdGePoint2d &startPoint) const
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
bool isOn(const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
GLsizei GLsizei GLchar * source
GLuint GLsizei GLsizei * length
GLsizei const GLfloat * value
static GE_STATIC_EXPORT OdGeTol gTol