CFx SDK Documentation
2023 SP0
|
Go to the source code of this file.
#define getEdgeIndex | ( | gsMarker | ) | (((gsMarker) - OdDb::kEdgeSubentType) / kSubentTypeStep) |
Definition at line 33 of file ModelerMarkers.h.
#define getEdgeMarker | ( | nIndex | ) | ((nIndex) * kSubentTypeStep + OdDb::kEdgeSubentType) |
Definition at line 39 of file ModelerMarkers.h.
#define getFaceIndex | ( | gsMarker | ) | (((gsMarker) - OdDb::kFaceSubentType) / kSubentTypeStep) |
Definition at line 32 of file ModelerMarkers.h.
#define getFaceMarker | ( | nIndex | ) | ((nIndex) * kSubentTypeStep + OdDb::kFaceSubentType) |
Definition at line 38 of file ModelerMarkers.h.
#define getTypedIndex | ( | gsMarker, | |
type | |||
) | (((gsMarker) - (type)) / kSubentTypeStep) |
Definition at line 36 of file ModelerMarkers.h.
#define getTypedMarker | ( | nIndex, | |
type | |||
) | ((nIndex) * kSubentTypeStep + (type)) |
Definition at line 42 of file ModelerMarkers.h.
#define getVertexIndex | ( | gsMarker | ) | (((gsMarker) - OdDb::kVertexSubentType) / kSubentTypeStep) |
Definition at line 34 of file ModelerMarkers.h.
#define getVertexMarker | ( | nIndex | ) | ((nIndex) * kSubentTypeStep + OdDb::kVertexSubentType) |
Definition at line 40 of file ModelerMarkers.h.
#define isIndexValid | ( | nIndex | ) | ((nIndex)>0) |
Definition at line 44 of file ModelerMarkers.h.
#define isMarkerInvalid | ( | gsMarker | ) | ((gsMarker) < kFirstFaceMarker || 0 == (gsMarker)%kSubentTypeStep) |
Definition at line 45 of file ModelerMarkers.h.
#define isValidEdgeMarker | ( | gsMarker | ) | ((gsMarker) >= kFirstEdgeMarker && ((((gsMarker) - kFirstEdgeMarker) % kSubentTypeStep) == 0)) |
Definition at line 48 of file ModelerMarkers.h.
#define isValidFaceMarker | ( | gsMarker | ) | ((gsMarker) >= kFirstFaceMarker && ((((gsMarker) - kFirstFaceMarker) % kSubentTypeStep) == 0)) |
Definition at line 47 of file ModelerMarkers.h.
#define isValidVertexMarker | ( | gsMarker | ) | ((gsMarker) >= kFirstVertexMarker && ((((gsMarker) - kFirstVertexMarker) % kSubentTypeStep) == 0)) |
Definition at line 49 of file ModelerMarkers.h.
#define kFirstEdgeMarker (OdDb::kEdgeSubentType + kSubentTypeStep) |
Definition at line 29 of file ModelerMarkers.h.
#define kFirstFaceMarker (OdDb::kFaceSubentType + kSubentTypeStep) |
Definition at line 28 of file ModelerMarkers.h.
#define kFirstVertexMarker (OdDb::kVertexSubentType + kSubentTypeStep) |
Definition at line 30 of file ModelerMarkers.h.
#define kSubentTypeStep 4 |
Definition at line 27 of file ModelerMarkers.h.
#define MODELERMARKERS_H /*!DOM*/ |
Definition at line 25 of file ModelerMarkers.h.