ElementGeometry Namespace
Provides utility functions for working with ElementGeometryDataEntry.
Class
Name | Description |
---|---|
ElementGeometry.Builder | Builder is a helper class for populating a ElementGeometryDataEntry array needed to create a GeometricElement or GeometryPart. |
ElementGeometry.Iterator | Iterator is a helper class for iterating a ElementGeometryDataEntry array. |
ElementGeometry.IteratorEntry |
Interface
Name | Description |
---|---|
ElementGeometry.IteratorData | Current state information for Iterator |
Function
Name | Description |
---|---|
ElementGeometry.appendGeometryParams | Append entries to represent a GeometryParams |
ElementGeometry.fromBRep | Create entry from a DataProps. |
ElementGeometry.fromGeometryPart | Create entry from a GeometryPart id and instance transform |
ElementGeometry.fromGeometryQuery | Create entry from a GeometryQuery |
ElementGeometry.fromImageGraphic | Create entry from a ImageGraphic |
ElementGeometry.fromSubGraphicRange | Create entry from a ElementAlignedBox3d to compute and store local ranges for subsequent geometric entries |
ElementGeometry.fromTextString | Create entry from a TextString |
ElementGeometry.getBRepEntityType | Return the body type that would be used to represent the supplied entry |
ElementGeometry.isAppearanceEntry | Return whether the supplied entry represents appearance information |
ElementGeometry.isCurve | Return whether the supplied entry represents a single open curve or path |
ElementGeometry.isDisplayableEntry | Return whether the supplied entry is geometric or a part reference |
ElementGeometry.isGeometricEntry | Return whether the supplied entry is displayable geometry GeometryQuery, DataProps, TextString, or ImageGraphic |
ElementGeometry.isGeometryQueryEntry | Return whether the supplied entry can be represented as a GeometryQuery |
ElementGeometry.isSolid | Return whether the supplied entry represents a capped solid, closed polyface, or solid body |
ElementGeometry.isSurface | Return whether the supplied entry represents a loop, planar region, open polyface, or sheet body |
ElementGeometry.toBRep | Return entry as a DataProps for checking brep type and face attachments. |
ElementGeometry.toElementAlignedBox3d | Create ElementAlignedBox3d from lowX, lowY, lowZ, highX, highY, highZ Float64Array |
ElementGeometry.toGeometryPart | Return entry as GeometryPart id and instance transform |
ElementGeometry.toGeometryQuery | Return entry as a GeometryQuery |
ElementGeometry.toImageGraphic | Return entry as a ImageGraphic |
ElementGeometry.toSubGraphicRange | Return entry as a ElementAlignedBox3d representing the local range of a geometric entry |
ElementGeometry.toTextString | Return entry as a TextString |
ElementGeometry.toTextStringGlyphData | Returns only the TextStringGlyphData embedded in the TextString flatbuffer. |
ElementGeometry.toTransform | Create Transform from row-major storage 4x3 Float64Array |
ElementGeometry.transformBRep | Apply transform directly to ElementGeometryDataEntry for a BRep |
ElementGeometry.updateGeometryParams | Update the supplied GeometryParams from an entry with appearance information |
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.