CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
FacetModeler::CachedSeg2D Class Reference

#include <FMCachedSeg2D.h>

Inheritance diagram for FacetModeler::CachedSeg2D:
FacetModeler::CommonSeg2DImpl FacetModeler::IBulgeSeg2D

Public Member Functions

 CachedSeg2D ()
 
 CachedSeg2D (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge, const Attributes2D &rAttr)
 
 CachedSeg2D (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge=0.0)
 
 CachedSeg2D (const OdGePoint2d &ptA, const OdGePoint2d &ptB, const OdGePoint2d &ptIntermediate)
 
 CachedSeg2D (const IBulgeSeg2D &rAnySeg)
 
 CachedSeg2D (const CachedSeg2D &rSeg)
 
Result set (const CachedSeg2D &rSeg)
 
CachedSeg2Doperator= (const CachedSeg2D &rSeg)
 
virtual SegmentImplClass implClass () const
 
virtual const OdGePoint2dstartPt () const
 
virtual const OdGePoint2dendPt () const
 
virtual double bulge () const
 
virtual SegmentType type () const
 
virtual double deviation () const
 
virtual void getDir (OdGeVector2d &vDir) const
 
virtual double dirLength () const
 
virtual double length () const
 
virtual OdGePoint2d arcCenter () const
 
virtual double arcRadius () const
 
virtual Result getCircleData (OdGePoint2d &ptCenter, double &dRadius) const
 
virtual double arcAngle () const
 
virtual double arcStartAngle () const
 
virtual Result getArcData (OdGePoint2d &ptCenter, double &dRadius, double &dStartAngle, double &dInclAngle) const
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge, const Attributes2D &rAttr)
 
virtual Result set (const IBulgeSeg2D &rSeg)
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge=0.0)
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, const OdGePoint2d &ptIntermediate)
 
virtual Result set (const OdGeLineSeg2d &geLine)
 
virtual Result set (const OdGeCircArc2d &geArc)
 
IBulgeSeg2Doperator= (const IBulgeSeg2D &rSeg)
 
virtual Result transformBy (const OdGeMatrix2d &mTrans)
 
virtual Result reverse ()
 
virtual const Attributes2Dattributes () const
 
virtual Attributes2Dattributes4U ()
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge, const Attributes2D &rAttr)=0
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge=0.0)
 
virtual Result set (const OdGePoint2d &ptA, const OdGePoint2d &ptB, const OdGePoint2d &ptIntermediate)
 
virtual Result set (const IBulgeSeg2D &rSeg)
 
virtual Result set (const OdGeLineSeg2d &geLine)
 
virtual Result set (const OdGeCircArc2d &geArc)
 
- Public Member Functions inherited from FacetModeler::CommonSeg2DImpl
virtual ~CommonSeg2DImpl ()
 
virtual Result getLineSeg (OdGeLineSeg2d &geLine) const
 
virtual Result getArcSeg (OdGeCircArc2d &geArc) const
 
virtual Result getPoint (double dParam, OdGePoint2d &ptPoint) const
 
virtual Result getTangent (double dParam, OdGeVector2d &vTangent) const
 
virtual void addExtents (OdGeExtents2d &rExtents, double dTol=0.0) const
 
virtual bool isOn (const OdGePoint2d &ptTest, double *pdParam=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual double nearestParam (const OdGePoint2d &ptTest, OdGePoint2d *ptNearest=0) const
 
virtual double integrate (const OdGePoint2d &ptOrigin=OdGePoint2d::kOrigin) const
 
virtual Result getSubSegment (double dStartParam, double dEndParam, IBulgeSeg2D &rSubSeg) const
 
virtual Result getParallelSegment (double dNormalOffset, IBulgeSeg2D &rParSeg) const
 
virtual OdUInt32 intersectXRay (const OdGePoint2d &ptTest, bool *pbOnSegment=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersect (const IBulgeSeg2D &rSegB, OdGePoint2d *pPt1, OdGePoint2d *pPt2=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersect (const IBulgeSeg2D &rSegB, Intersection *pInt1=0, Intersection *pInt2=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersectLine (const OdGePoint2d &ptLineOrigin, const OdGeVector2d &vLineDir, Intersection *pInt1=0, Intersection *pInt2=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 areOn (Intersection **ppInt, const OdGeTol &gTol=FMGeGbl::gTol) const
 
- Public Member Functions inherited from FacetModeler::IBulgeSeg2D
virtual ~IBulgeSeg2D ()
 
IBulgeSeg2Doperator= (const IBulgeSeg2D &rSeg)
 
void setAttributes (const Attributes2D &rNewAttr)
 
OdIntPtr metadata () const
 
void setMetadata (OdIntPtr uNewData)
 

Additional Inherited Members

- Static Public Member Functions inherited from FacetModeler::IBulgeSeg2D
static IBulgeSeg2Dcreate (SegmentImplClass eClass, const IBulgeSeg2D *pSrcSeg=0)
 

Detailed Description

Definition at line 39 of file FMCachedSeg2D.h.

Constructor & Destructor Documentation

◆ CachedSeg2D() [1/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( )

◆ CachedSeg2D() [2/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
double  dBulge,
const Attributes2D rAttr 
)

◆ CachedSeg2D() [3/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
double  dBulge = 0.0 
)

◆ CachedSeg2D() [4/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
const OdGePoint2d ptIntermediate 
)

◆ CachedSeg2D() [5/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( const IBulgeSeg2D rAnySeg)

◆ CachedSeg2D() [6/6]

FacetModeler::CachedSeg2D::CachedSeg2D ( const CachedSeg2D rSeg)

Member Function Documentation

◆ arcAngle()

virtual double FacetModeler::CachedSeg2D::arcAngle ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ arcCenter()

virtual OdGePoint2d FacetModeler::CachedSeg2D::arcCenter ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ arcRadius()

virtual double FacetModeler::CachedSeg2D::arcRadius ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ arcStartAngle()

virtual double FacetModeler::CachedSeg2D::arcStartAngle ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ attributes()

virtual const Attributes2D& FacetModeler::CachedSeg2D::attributes ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ attributes4U()

virtual Attributes2D& FacetModeler::CachedSeg2D::attributes4U ( )
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ bulge()

virtual double FacetModeler::CachedSeg2D::bulge ( ) const
virtual

◆ deviation()

virtual double FacetModeler::CachedSeg2D::deviation ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ dirLength()

virtual double FacetModeler::CachedSeg2D::dirLength ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ endPt()

virtual const OdGePoint2d& FacetModeler::CachedSeg2D::endPt ( ) const
virtual

◆ getArcData()

virtual Result FacetModeler::CachedSeg2D::getArcData ( OdGePoint2d ptCenter,
double &  dRadius,
double &  dStartAngle,
double &  dInclAngle 
) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ getCircleData()

virtual Result FacetModeler::CachedSeg2D::getCircleData ( OdGePoint2d ptCenter,
double &  dRadius 
) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ getDir()

virtual void FacetModeler::CachedSeg2D::getDir ( OdGeVector2d vDir) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ implClass()

virtual SegmentImplClass FacetModeler::CachedSeg2D::implClass ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ length()

virtual double FacetModeler::CachedSeg2D::length ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ operator=() [1/2]

CachedSeg2D& FacetModeler::CachedSeg2D::operator= ( const CachedSeg2D rSeg)
inline

Definition at line 65 of file FMCachedSeg2D.h.

◆ operator=() [2/2]

IBulgeSeg2D& FacetModeler::CachedSeg2D::operator= ( const IBulgeSeg2D rSeg)
inline

Definition at line 164 of file FMCachedSeg2D.h.

◆ reverse()

virtual Result FacetModeler::CachedSeg2D::reverse ( )
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ set() [1/13]

Result FacetModeler::CachedSeg2D::set ( const CachedSeg2D rSeg)

◆ set() [2/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [3/13]

virtual Result FacetModeler::CachedSeg2D::set ( const IBulgeSeg2D rSeg)
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ set() [4/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [5/13]

virtual Result FacetModeler::CachedSeg2D::set ( const OdGeCircArc2d geArc)
inlinevirtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

Definition at line 159 of file FMCachedSeg2D.h.

◆ set() [6/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [7/13]

virtual Result FacetModeler::CachedSeg2D::set ( const OdGeLineSeg2d geLine)
inlinevirtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

Definition at line 154 of file FMCachedSeg2D.h.

◆ set() [8/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [9/13]

virtual Result FacetModeler::CachedSeg2D::set ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
const OdGePoint2d ptIntermediate 
)
inlinevirtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

Definition at line 149 of file FMCachedSeg2D.h.

◆ set() [10/13]

virtual Result FacetModeler::CachedSeg2D::set ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
double  dBulge,
const Attributes2D rAttr 
)
virtual

◆ set() [11/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [12/13]

virtual Result FacetModeler::CommonSeg2DImpl::set

◆ set() [13/13]

virtual Result FacetModeler::CachedSeg2D::set ( const OdGePoint2d ptA,
const OdGePoint2d ptB,
double  dBulge = 0.0 
)
inlinevirtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

Definition at line 144 of file FMCachedSeg2D.h.

◆ startPt()

virtual const OdGePoint2d& FacetModeler::CachedSeg2D::startPt ( ) const
virtual

◆ transformBy()

virtual Result FacetModeler::CachedSeg2D::transformBy ( const OdGeMatrix2d mTrans)
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.

◆ type()

virtual SegmentType FacetModeler::CachedSeg2D::type ( ) const
virtual

Reimplemented from FacetModeler::CommonSeg2DImpl.


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