CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FacetModeler::Intersection Class Reference

#include <FMContoursBase.h>

Inheritance diagram for FacetModeler::Intersection:
FacetModeler::IntersectionWithIDs

Public Types

enum  Types { eitNone = 0 , eitAny , eitCrossing , eitTouch }
 

Public Member Functions

 Intersection ()
 
 Intersection (const OdGePoint2d &rPt, double dPA=0, double dPB=0, Types eIT=eitNone)
 
IntersectionswapParams ()
 

Static Public Member Functions

static bool lessParamA (const Intersection &rI1, const Intersection &rI2)
 
static bool lessParamB (const Intersection &rI1, const Intersection &rI2)
 

Public Attributes

OdGePoint2d ptPoint
 
OdDouble dParamA
 
OdDouble dParamB
 
Types eType
 

Detailed Description

Describes an intersection between 2 curves/segments.

Definition at line 238 of file FMContoursBase.h.

Member Enumeration Documentation

◆ Types

Intersection types.

Enumerator
eitNone 
eitAny 
eitCrossing 
eitTouch 

Definition at line 244 of file FMContoursBase.h.

Constructor & Destructor Documentation

◆ Intersection() [1/2]

FacetModeler::Intersection::Intersection ( )
inline

Constructor.

Definition at line 262 of file FMContoursBase.h.

◆ Intersection() [2/2]

FacetModeler::Intersection::Intersection ( const OdGePoint2d rPt,
double  dPA = 0,
double  dPB = 0,
Types  eIT = eitNone 
)
inline

Constructor.

Definition at line 268 of file FMContoursBase.h.

Member Function Documentation

◆ lessParamA()

static bool FacetModeler::Intersection::lessParamA ( const Intersection rI1,
const Intersection rI2 
)
inlinestatic

Returns whether parameter A in rI1 intersection is less than parameter A in rI2.

Definition at line 284 of file FMContoursBase.h.

◆ lessParamB()

static bool FacetModeler::Intersection::lessParamB ( const Intersection rI1,
const Intersection rI2 
)
inlinestatic

Returns whether parameter B in rI1 intersection is less than parameter B in rI2.

Definition at line 290 of file FMContoursBase.h.

◆ swapParams()

Intersection& FacetModeler::Intersection::swapParams ( )
inline

Swaps parameters of intersection.

Definition at line 275 of file FMContoursBase.h.

Member Data Documentation

◆ dParamA

OdDouble FacetModeler::Intersection::dParamA

Parameter on the curve A.

Definition at line 302 of file FMContoursBase.h.

◆ dParamB

OdDouble FacetModeler::Intersection::dParamB

Parameter on the curve B.

Definition at line 307 of file FMContoursBase.h.

◆ eType

Types FacetModeler::Intersection::eType

Type of intersection.

Definition at line 312 of file FMContoursBase.h.

◆ ptPoint

OdGePoint2d FacetModeler::Intersection::ptPoint

Intersection point.

Definition at line 297 of file FMContoursBase.h.


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