Polyface Class
A Polyface is an abstract mesh structure (of unspecified implementation) that provides a PolyfaceVisitor
to iterate over its facets.
Extends
Extended by
Methods
Name |
Description |
|
constructor(data: PolyfaceData): Polyface Protected |
|
|
createVisitor(_numWrap: number): PolyfaceVisitor Abstract |
create and return a visitor for this concrete polyface. |
|
areIndicesValid(indices: undefined | number[], indexPositionA: number, indexPositionB: number, data: any, dataLength: number): boolean Static |
Check validity of indices into a data array. |
|
Inherited methods
Properties
Name |
Type |
Description |
|
data |
PolyfaceData |
Underlying polyface data. |
|
expectedClosure Accessor |
number |
Flag indicating if the mesh closure is unknown (0), open sheet (1), closed (2) |
|
facetCount Accessor ReadOnly |
undefined | number |
Returns the number of facets of this polyface. |
|
geometryCategory Readonly |
"polyface" |
String name for schema properties |
|
isEmpty Accessor AbstractReadOnly |
boolean |
Returns true if this polyface has no facets. |
|
twoSided Accessor |
boolean |
Flag indicating if the mesh display must assume both sides are visible. |
|
Inherited properties
Name |
Type |
Inherited from |
Description |
children Accessor ReadOnly |
undefined | GeometryQuery[] |
GeometryQuery |
return GeometryQuery children for recursive queries.
* leaf classes do not need to implement. |
Defined in
Last Updated:
20 June, 2023