|
CFx SDK Documentation 2026 SP0
|
Typedefs | |
| typedef OdUInt64 | KeyType |
| typedef std::vector< LoopImage > | LoopImages |
| typedef std::vector< VertexImage > | VertexImages |
| typedef std::map< KeyType, EdgeImage > | EdgeImages |
| typedef std::vector< FaceImage > | FaceImages |
| typedef ptrdiff_t | TagType |
| typedef OdArray< const Face *, OdMemoryAllocator< const Face * > > | FaceConstPtrArray |
| typedef std::multimap< OdUInt32, SliceContour > | SliceContoursMap |
| typedef Profile2D | ContoursVector |
| typedef std::vector< OdUInt32 > | SliceNodes |
| typedef OdArray< Vertex *, OdMemoryAllocator< Vertex * > > | VertexIndex |
| typedef OdArray< Face *, OdMemoryAllocator< Face * > > | FacePtrArray |
Variables | |
| const OdUInt32 | AEF = FLAG(0) |
| const OdUInt32 | VEF = FLAG(1) |
| const OdUInt32 | VFF = FLAG(0) |
| const OdUInt32 | OFF = FLAG(1) |
| const OdUInt32 | SKIP_HATCH = FLAG(18) |
<group TA_Geometry>
Namespace for FacetModeler's entities.
Definition at line 165 of file FMSliceContourBuilder.h.
| typedef std::map<KeyType, EdgeImage> FacetModeler::EdgeImages |
Map of pointers and edge image entities.
Definition at line 116 of file FMDataSerialize.h.
| typedef OdArray< const Face *, OdMemoryAllocator< const Face * > > FacetModeler::FaceConstPtrArray |
Array of constant Face pointers
Definition at line 413 of file FMMdlFace.h.
| typedef std::vector<FaceImage> FacetModeler::FaceImages |
Array of face image entities.
Definition at line 119 of file FMDataSerialize.h.
| typedef OdArray<Face*, OdMemoryAllocator<Face*> > FacetModeler::FacePtrArray |
Definition at line 184 of file FMSliceEngine.h.
| typedef OdUInt64 FacetModeler::KeyType |
Key type.
Definition at line 35 of file FMDataSerialize.h.
| typedef std::vector<LoopImage> FacetModeler::LoopImages |
Array of loop image entities.
Definition at line 91 of file FMDataSerialize.h.
| typedef std::multimap<OdUInt32, SliceContour> FacetModeler::SliceContoursMap |
Definition at line 147 of file FMSliceContourBuilder.h.
| typedef std::vector<OdUInt32> FacetModeler::SliceNodes |
Definition at line 166 of file FMSliceContourBuilder.h.
| typedef ptrdiff_t FacetModeler::TagType |
Tag type.
Definition at line 46 of file FMMdlBase.h.
| typedef std::vector<VertexImage> FacetModeler::VertexImages |
Array of vertex image entities.
Definition at line 113 of file FMDataSerialize.h.
| typedef OdArray<Vertex*, OdMemoryAllocator<Vertex*> > FacetModeler::VertexIndex |
Definition at line 183 of file FMSliceEngine.h.
| anonymous enum |
| Enumerator | |
|---|---|
| kExtrudeClosedPath | |
| kExtrudeSmoothAlongPath | |
| kExtrudeSmoothAlongProfile | |
| kExtrudeSingleArcProfile | |
Definition at line 49 of file FMMdlUtils.h.
Defines types of boolean operations.
| Enumerator | |
|---|---|
| eUnion | Union operation. |
| eIntersection | Intersection operation. |
| eDifference | Difference operation. |
| eXOR | XOR operation. |
Definition at line 69 of file FMGeometry.h.
Defines classification results.
| Enumerator | |
|---|---|
| eNo | Unspecified. |
| eOn | Lies on. |
| eInner | Inner position. |
| eOuter | Outer position. |
| eSpanning | Spanning. |
Definition at line 96 of file FMGeometry.h.
| Enumerator | |
|---|---|
| ecicUnknown | |
| ecicSimple | |
| ecicCached | |
| ecicLast | |
Definition at line 237 of file FMContoursBase.h.
Defines face orientations.
Definition at line 121 of file FMGeometry.h.
| Enumerator | |
|---|---|
| kInitialFaceState | |
| kFaceToClone | |
| kFaceToRemove | |
| kProcessed | |
Definition at line 191 of file FMSliceEngine.h.
Defines gap filling strategy types for offset curve generation.
Definition at line 220 of file FMContoursBase.h.
Defines possible object placement with respect to another object.
| Enumerator | |
|---|---|
| elUnknown | Unknown |
| elInside | Inside |
| elOutside | Outside |
| elOnBound | On bound |
Definition at line 187 of file FMContoursBase.h.
Defines flags for the mergeSegments method.
| Enumerator | |
|---|---|
| emfMergeArcs | Merge circular segments |
| emfIgnoreMetadata | Merge segments with different metadata |
| emfMergeOrigin | Merge first and last segments of a closed contour |
Definition at line 205 of file FMContoursBase.h.
Definition at line 39 of file FMGeometryImpl.h.
| enum FacetModeler::Result |
Defines possible result codes used in Contour2D and Profile2D classes.
| Enumerator | |
|---|---|
| erOk | No error |
| erWarnings | Warning |
| erWarnParamBounds | Parameter on contour is not valid |
| erWarnPointNotOnThis | Input point or vector is not on this entity, but it should be |
| erWarnEmptyContour | Contour is empty |
| erWarnSmallContour | Contour is too small |
| erWarnImproperAreas | Region/Profile contours are not valid |
| erWarnContourNotClosed | A contour is not closed, but it should be |
| erErrors | |
| erNotImplementedYet | Not implemented |
| erInvalidIndex | Array/Segment index is out of range |
| erParamBounds | Parameter value is out of range |
| erPointNotOnThis | Input point or vector is not on this entity |
| erInvalidTransform | Invalid (singular) transformation matrix |
| erWrongSegType | Wrong segment type, another type expected |
| erEmptyContour | Contour is empty |
| erSingularPoints | Some points are invalid |
| erNoMetadata | Metadata is not available and/or can`t be updated |
| erInvalidArgs | Some input parameters are completely invalid |
| erContourIsTooSmall | Contour is too small |
| erSelfIntersecting | Contour or profile is self-intersecting |
| erInvalidDirection | Contour orientation is not applicable |
| erContourNotClosed | A contour is not closed, but it should be |
| erOperationNotApplicable | Operation is not applicable |
| erFailedToCloseContours | Invalid result in area operation |
| erImproperRegionBounds | Region/Profile is not valid in a regional operation |
| erImproperRegionAreas | Region/Profile is not valid in a regional operation |
| erToleranceViolation | Tolerance is too small, or input contours are singular |
| erFail | Unknown error |
| erLastError | Last error |
Definition at line 40 of file FMContoursBase.h.
| Enumerator | |
|---|---|
| esicUnknown | |
| esicBulgeSeg2D | |
| esicCachedSeg2D | |
| esicLast | |
Definition at line 245 of file FMContoursBase.h.
Defines types of segments.
| Enumerator | |
|---|---|
| estUnknown | Unknown type |
| estLine | Straight segment with length greater than 0 |
| estArc | Arc segment with length greater than 0 |
| estCoincident | Segment with 0 length |
Definition at line 169 of file FMContoursBase.h.
| FMGEOMETRY_API void FacetModeler::ClearShadedSurfaces | ( | Body & | aBody | ) |
|
extern |
| void FMGEOMETRY_API FacetModeler::DrawBody | ( | OdGiCommonDraw * | pDraw, |
| const Body & | rBody, | ||
| const OdGeVector3d * | pViewDir = NULL, | ||
| bool | bUseRGBColors = false, | ||
| bool | bUseMappingCoords = false ) |
Draws the specified body to OdGiCommonDraw with the view direction specified.
| pDraw | [in/out] Object to draw on. |
| rBody | [in] Body to draw. |
| pViewDir | [in] View direction vector for calculating silhouettes as OdGeVector3d. |
| bUseRGBColors | [in] Defines whether the colors format of this Body is RGB (Arhitecture uses color indices) |
| bUseMappingCoords | [in] Defines whether mapping coordinates of vertices will be set to VertexData |
| FMGEOMETRY_API void FacetModeler::ExtendContour | ( | Contour2D & | rContour | ) |
| FMGEOMETRY_API void FacetModeler::ExtendContourEnd | ( | Contour2D & | rContour | ) |
| FMGEOMETRY_API void FacetModeler::ExtendContourStart | ( | Contour2D & | rContour | ) |
| FMGEOMETRY_API Body FacetModeler::extrude | ( | const Profile2D & | base, |
| const DeviationParams & | deviation, | ||
| OdUInt32 | n, | ||
| const PathNode * | path, | ||
| OdUInt32 | flags = 0 ) |
|
extern |
|
extern |
|
extern |
|
extern |
| FMGEOMETRY_API bool FacetModeler::FindClosestIntToBaseEnd | ( | const Contour2D & | cBase, |
| const Contour2D & | cCutter, | ||
| Intersection & | intClosest ) |
| FMGEOMETRY_API bool FacetModeler::FindClosestIntToBaseStart | ( | const Contour2D & | cBase, |
| const Contour2D & | cCutter, | ||
| Intersection & | intClosest ) |
| FMGEOMETRY_API bool FacetModeler::FindFarthestIntFromBasePt | ( | const Contour2D & | cContour, |
| const Contour2D & | cCutter, | ||
| const OdGePoint2d & | ptBase, | ||
| Intersection & | outInt ) |
| FMGEOMETRY_API bool FacetModeler::FindFarthestIntFromBasePt | ( | const Contour2D & | cContour, |
| const OdGeLine2d & | lnCutter, | ||
| const OdGePoint2d & | ptBase, | ||
| Intersection & | outInt ) |
| FMGEOMETRY_API Intersection FacetModeler::FindFarthestIntFromPt | ( | const OdGePoint2d & | ptBase, |
| const std::vector< Intersection > & | vecPoints ) |
| FMGEOMETRY_API OdGePoint2d FacetModeler::FindFarthestPoint | ( | const OdGePoint2d & | ptOrigin, |
| const std::vector< Intersection > & | vecPoints ) |
| FMGEOMETRY_API Intersection FacetModeler::FindIntClosestToPt | ( | const OdGePoint2d & | ptBase, |
| const std::vector< Intersection > & | vecPoints ) |
| FMGEOMETRY_API double FacetModeler::FindMaximumParamA | ( | std::vector< Intersection > & | vecPoints | ) |
| FMGEOMETRY_API double FacetModeler::FindMinimumParamA | ( | std::vector< Intersection > & | vecPoints | ) |
| FMGEOMETRY_API OdGePoint2d FacetModeler::FindNearestPoint | ( | const OdGePoint2d & | ptOrigin, |
| const std::vector< Intersection > & | vecPoints ) |
| FMGEOMETRY_API OdGePoint3d FacetModeler::FindNearestPoint | ( | const OdGePoint3d & | ptOrigin, |
| const std::vector< OdGePoint3d > & | vecPoints ) |
Gets a bit mask for the flag by its index.
| i | [in] Index of the flag. |
Definition at line 38 of file FMMdlEntity.h.
| FMGEOMETRY_API void FacetModeler::getBaseFaces | ( | const Profile2D & | rProfile, |
| std::vector< Profile2D > & | aBaseFaces, | ||
| const DeviationParams & | devDeviation ) |
| FMGEOMETRY_API OdString FacetModeler::GetBoolOperationName | ( | BooleanOperation | eOperation | ) |
Returns a name by the specified type of boolean operations.
| eOperation | [in] Boolean operation type from BooleanOperation enumeration. |
| Result FMGEOMETRY_API FacetModeler::GetProfileWithOffsetSegment | ( | const Profile2D & | rSrc, |
| Profile2D & | rDest, | ||
| OdUInt32 | uContour, | ||
| OdUInt32 | uSegment, | ||
| double | dNormalOffset ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_ArcArc | ( | const IBulgeSeg2D & | rArc1, |
| const IBulgeSeg2D & | rArc2, | ||
| Intersection & | rInt1, | ||
| Intersection & | rInt2, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_ArcInfLine | ( | const IBulgeSeg2D & | rArcSeg, |
| const OdGePoint2d & | ptLineOrigin, | ||
| const OdGeVector2d & | vLineDir, | ||
| Intersection & | rInt1, | ||
| Intersection & | rInt2, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_ArcLine | ( | const IBulgeSeg2D & | rArc, |
| const IBulgeSeg2D & | rLine, | ||
| Intersection & | rInt1, | ||
| Intersection & | rInt2, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_LineInfLine | ( | const IBulgeSeg2D & | rLineSeg, |
| const OdGePoint2d & | ptLineOrigin, | ||
| const OdGeVector2d & | vLineDir, | ||
| Intersection & | rInt1, | ||
| Intersection & | rInt2, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_LineLine | ( | const IBulgeSeg2D & | rLine1, |
| const IBulgeSeg2D & | rLine2, | ||
| Intersection & | rInt1, | ||
| Intersection & | rInt2, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
| FMGEOMETRY_API OdUInt32 FacetModeler::intersect_PointInfLine | ( | const OdGePoint2d & | rPoint, |
| const OdGePoint2d & | ptLineOrigin, | ||
| const OdGeVector2d & | vLineDir, | ||
| Intersection & | rInt1, | ||
| const OdGeTol & | gTol = FMGeGbl::gTol ) |
|
inline |
Checks whether the result is an error.
| eRes | [in] Value to check. |
Definition at line 161 of file FMContoursBase.h.
| FMGEOMETRY_API bool FacetModeler::IsIntersectionCloserToPt | ( | const OdGePoint2d & | ptBase, |
| const Intersection & | intCurrent, | ||
| const Intersection & | intToCheck ) |
|
inline |
Checks whether the result is an error.
| eRes | [in] Value to check. |
Definition at line 139 of file FMContoursBase.h.
|
inline |
Checks whether the result is a warning.
| eRes | [in] Value to check. |
Definition at line 150 of file FMContoursBase.h.
| FMGEOMETRY_API void FacetModeler::MarkShadedSurfaces | ( | Body & | aBody, |
| double | angleTol, | ||
| bool | bDetectSharpEdges = false ) |
|
extern |
| bool FacetModeler::operator== | ( | const SliceContour & | c1, |
| const SliceContour & | c2 ) |
Definition at line 32 of file FMContoursBaseImp.h.
Silhouette edge flag
Definition at line 33 of file FMMdlEdge.h.
OFF flag
Definition at line 35 of file FMMdlFace.h.
Show or hide surface hatch
Definition at line 37 of file FMMdlFace.h.
Invisible edge flag
Definition at line 35 of file FMMdlEdge.h.
Visibility flag
Definition at line 33 of file FMMdlFace.h.