CFx SDK Documentation 2024 SP0
|
#include <FMContoursBase.h>
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) | |
Intersection & | swapParams () |
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 |
Describes an intersection between two curves/segments.
Definition at line 257 of file FMContoursBase.h.
Defines intersection types.
Enumerator | |
---|---|
eitNone | No intersection |
eitAny | Intersection of any type (the type was not defined) |
eitCrossing | Curves cross each other at a point |
eitTouch | Curves touch each other at a point |
Definition at line 263 of file FMContoursBase.h.
|
inline |
Default constructor.
Definition at line 281 of file FMContoursBase.h.
|
inline |
Constructor. Creates an object with specified intersection point, parameters and intersection type.
Definition at line 287 of file FMContoursBase.h.
|
inlinestatic |
Checks whether parameter A in the 1st intersection object is less than parameter A in the 2nd intersection object.
rI1 | [in] First intersection object to compare. |
rI2 | [in] Second intersection object to compare. |
Definition at line 309 of file FMContoursBase.h.
|
inlinestatic |
Checks whether parameter B in the 1st intersection object is less than parameter B in the 2nd intersection object.
rI1 | [in] First intersection object to compare. |
rI2 | [in] Second intersection object to compare. |
Definition at line 321 of file FMContoursBase.h.
|
inline |
Swaps parameters of the intersection.
Definition at line 296 of file FMContoursBase.h.
OdDouble FacetModeler::Intersection::dParamA |
Parameter on the curve A
Definition at line 331 of file FMContoursBase.h.
OdDouble FacetModeler::Intersection::dParamB |
Parameter on the curve B
Definition at line 334 of file FMContoursBase.h.
Types FacetModeler::Intersection::eType |
Type of intersection
Definition at line 337 of file FMContoursBase.h.
OdGePoint2d FacetModeler::Intersection::ptPoint |
Intersection point
Definition at line 328 of file FMContoursBase.h.