OffsetMeshContext Class
Methods
Name | Description | |
---|---|---|
announceFacetsWithSectorCoordinatesAroundEdges(polyfaceBuilder: PolyfaceBuilder): void | For each edge of the graph . | |
announceFacetsWithSectorCoordinatesAroundFaces(polyfaceBuilder: PolyfaceBuilder): void | For each face of the graph, output the xyz of the sector data | |
announceFacetsWithSectorCoordinatesAroundVertices(polyfaceBuilder: PolyfaceBuilder): void | For each face of the graph, output the xyz of the sector data | |
announceSimpleOffsetFromFaces(polyfaceBuilder: PolyfaceBuilder, offsetDistance: number): void | For each face of the graph, shift vertices by offsetDistance and emit to the builder as a facet | |
buildBaseGraph(polyface: IndexedPolyface): undefined | Static | * Exterior half edges have HalfEdgeMask.EXTERIOR | |
buildOffsetMeshWithEdgeChamfers(basePolyface: IndexedPolyface, builder: PolyfaceBuilder, distance: number, options: OffsetMeshOptions): void Static | * build a mesh offset by given distance. |
Properties
Name | Type | Description | |
---|---|---|---|
breakMaskA Accessor ReadOnly | "First" sector of a smooth sequence. | ||
breakMaskB Accessor ReadOnly | "Last" sector of a smooth sequence. | ||
exteriorMask Accessor ReadOnly | "Exterior" side of a bare edge of the mesh | ||
graphDebugFunction Static | FacetOffsetGraphDebugFunction | undefined | ||
insideChamferSling Accessor ReadOnly | This edge is on a chamfered face, and at the end -- other side may be a sling | ||
insideOfChamferFace Accessor ReadOnly | This edge is on a chamfered face, and along the original edge | ||
outsideEndOfChamferFace Accessor ReadOnly | This is the outside of the end of a chamfer face -- i.e. | ||
outsideOfChamferFace Accessor ReadOnly | This is the original edge of a chamfer face | ||
stringDebugFunction Static | FacetOffsetDebugString | undefined |
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.