24#ifndef __FMSEGMENT2D_H__
25#define __FMSEGMENT2D_H__
248 double dTol = 0.0)
const;
259 const OdGeTol& gTol = FMGeGbl::gTol)
const;
317 const OdGeTol& gTol = FMGeGbl::gTol)
const;
330 const OdGeTol& gTol = FMGeGbl::gTol)
const;
343 const OdGeTol& gTol = FMGeGbl::gTol)
const;
357 const OdGeTol& gTol = FMGeGbl::gTol)
const;
422 double& dStartAngle,
double& dInclAngle)
const;
const OdGePoint2d & endPt() const
SegmentImplClass implClass() const
bool isOn(const OdGePoint2d &ptTest, double *pParam=NULL, const OdGeTol &gTol=FMGeGbl::gTol) const
Result getParallelSegment(double dNormalOffset, IBulgeSeg2D &rParSeg) const
Result getLineSeg(OdGeLineSeg2d &rLine) const
OdUInt32 intersectLine(const OdGeLine2d &rGeLine, Intersection *pInt1=NULL, Intersection *pInt2=NULL, const OdGeTol &gTol=FMGeGbl::gTol) const
Result set(const OdGePoint2d &ptA, const OdGePoint2d &ptB, const OdGePoint2d &ptIntermediate)
Result getArcSeg(OdGeCircArc2d &rArc) const
FaceOrientation orientation() const
Result getArcData(OdGePoint2d &ptCenter, double &dRadius, double &dStartAngle, double &dInclAngle) const
Result set(const IBulgeSeg2D &rSeg)
double integrate(const OdGePoint2d &ptOrigin=OdGePoint2d::kOrigin) const
double nearestParam(const OdGePoint2d &ptTest, OdGePoint2d *ptNearest=NULL) const
void addExtents(OdGeExtents2d &extExtents, double dTol=0.0) const
Result getPoint(double dParam, OdGePoint2d &ptPoint) const
Result setRawFlags(OdUInt32 iRawFlags)
OdUInt32 rawFlags() const
Result transformBy(const OdGeMatrix2d &mTrans)
Result set(const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge=0.0, OdIntPtr iMetaData=0, OdUInt32 iRawFlags=0)
Result setMetadata(OdIntPtr iNewData)
Segment2D(const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge=0.0, OdIntPtr uMetaData=0, OdUInt32 uRawFlags=0)
Result setOrientation(FaceOrientation eOrientation)
OdIntPtr metadata() const
OdUInt32 intersect(const IBulgeSeg2D &rSegB, OdGePoint2d *pPt1, OdGePoint2d *pPt2=NULL, const OdGeTol &gTol=FMGeGbl::gTol) const
double arcStartAngle() const
bool isExplodedArc() const
const IBulgeSeg2D & impl() const
Result getTangent(double dParam, OdGeVector2d &vTangent) const
Result set(const OdGeLineSeg2d &geLine)
Result getCircleData(OdGePoint2d &ptCenter, double &dRadius) const
Result setExplodedArc(bool bExplodedArc=true)
void getDir(OdGeVector2d &vDir) const
Segment2D(const IBulgeSeg2D &rSeg, SegmentImplClass eImplClass=esicBulgeSeg2D)
Result setHidden(bool bHidden=true)
Result getSubSegment(double dStartParam, double dEndParam, IBulgeSeg2D &rSubSeg) const
Result shift(const double dAngle, const double dShiftDist)
OdGePoint2d arcCenter() const
Result set(const OdGeCircArc2d &geArc)
OdUInt32 intersect(const IBulgeSeg2D &rSegB, Intersection *pInt1=NULL, Intersection *pInt2=NULL, const OdGeTol &gTol=FMGeGbl::gTol) const
Segment2D(SegmentImplClass eImplClass)
Segment2D(const Segment2D &rSeg, SegmentImplClass eImplClass=esicBulgeSeg2D)
const OdGePoint2d & startPt() const
Segment2D(const OdGePoint2d &ptA, const OdGePoint2d &ptB, const OdGePoint2d &ptIntermediate)
OdUInt32 intersectXRay(const OdGePoint2d &ptTest, bool *pOnSegment=NULL, const OdGeTol &gTol=FMGeGbl::gTol) const
static GE_STATIC_EXPORT const OdGePoint2d kOrigin