CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | List of all members
FacetModeler::ContourIntersector Class Reference

#include <FMContourIntersectors.h>

Classes

class  SegmentBound1D
 
struct  SegmentUID
 

Public Types

enum  IntersectionTypes {
  eIntNone = 0 , eIntMiddle2Middle = 0x01 , eIntNode2Node = 0x02 , eIntNode2Middle = 0x04 ,
  eIntSkipZeroLength = 0x20 , eIntAny = 0x0F
}
 

Public Member Functions

 ContourIntersector (const OdGeTol &gTol=FMGeGbl::gTol)
 
 ~ContourIntersector ()
 
void reset (const OdGeTol &gTol=FMGeGbl::gTol)
 
void reserveGroups (OdUInt32 iNumGroups)
 
OdUInt32 addGroup (bool bSelfIntersecting=false, OdUInt32 uReservedContours=0)
 
OdUInt32 numGroups () const
 
Result addContour (const IContour2D &rContour, OdUInt32 uID, OdUInt32 uGroup=0)
 
Result addProfile (const Profile2D &rProfile, OdUInt32 uFirstID, OdUInt32 uGroup=0)
 
OdUInt32 getIntersections (std::vector< IntersectionWithIDs > &vecPoints, bool bOrderByGroups=true)
 
bool hasIntersections (int eLookFor=eIntAny)
 
OdUInt32 getAllCrossings (std::vector< Crossing > &vecCrossings, double dMergeTol=0)
 

Detailed Description

Definition at line 91 of file FMContourIntersectors.h.

Member Enumeration Documentation

◆ IntersectionTypes

Enumerator
eIntNone 
eIntMiddle2Middle 
eIntNode2Node 
eIntNode2Middle 
eIntSkipZeroLength 
eIntAny 

Definition at line 152 of file FMContourIntersectors.h.

Constructor & Destructor Documentation

◆ ContourIntersector()

FacetModeler::ContourIntersector::ContourIntersector ( const OdGeTol gTol = FMGeGbl::gTol)

◆ ~ContourIntersector()

FacetModeler::ContourIntersector::~ContourIntersector ( )

Member Function Documentation

◆ addContour()

Result FacetModeler::ContourIntersector::addContour ( const IContour2D rContour,
OdUInt32  uID,
OdUInt32  uGroup = 0 
)

◆ addGroup()

OdUInt32 FacetModeler::ContourIntersector::addGroup ( bool  bSelfIntersecting = false,
OdUInt32  uReservedContours = 0 
)

◆ addProfile()

Result FacetModeler::ContourIntersector::addProfile ( const Profile2D rProfile,
OdUInt32  uFirstID,
OdUInt32  uGroup = 0 
)

◆ getAllCrossings()

OdUInt32 FacetModeler::ContourIntersector::getAllCrossings ( std::vector< Crossing > &  vecCrossings,
double  dMergeTol = 0 
)

◆ getIntersections()

OdUInt32 FacetModeler::ContourIntersector::getIntersections ( std::vector< IntersectionWithIDs > &  vecPoints,
bool  bOrderByGroups = true 
)

◆ hasIntersections()

bool FacetModeler::ContourIntersector::hasIntersections ( int  eLookFor = eIntAny)

◆ numGroups()

OdUInt32 FacetModeler::ContourIntersector::numGroups ( ) const
inline

Definition at line 185 of file FMContourIntersectors.h.

◆ reserveGroups()

void FacetModeler::ContourIntersector::reserveGroups ( OdUInt32  iNumGroups)

◆ reset()

void FacetModeler::ContourIntersector::reset ( const OdGeTol gTol = FMGeGbl::gTol)

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