PolyfaceAuxData Class

The PolyfaceAuxData structure contains one or more analytical data channels for each vertex of a Polyface. Typically a Polyface will contain only vertex data required for its basic display,the vertex position, normal and possibly texture parameter. The PolyfaceAuxData structure contains supplemental data that is generally computed in an analysis program or other external data source. This can be scalar data used to either overide the vertex colors through Thematic Colorization or XYZ data used to deform the mesh by adjusting the vertex postions or normals.

Methods

Name Description
constructor(channels: AuxChannel[], indices: number[]): PolyfaceAuxData    
clone(): PolyfaceAuxData return a deep clone  
createForVisitor(): PolyfaceAuxData Create a PolyfaceAuxData for use by a facet iterator  
isAlmostEqual(other: PolyfaceAuxData, tol?: number): boolean deep test for equality.  
isAlmostEqual(left: PolyfaceAuxData | undefined, right: PolyfaceAuxData | undefined, tol?: number): boolean Static class level almostEqual test, allowing either or both to be undefined at point of call.  

Properties

Name Type Description
channels AuxChannel[] Array with one or more channels of auxilliary data for the associated polyface.  
indices number[] indices The indices (shared by all data in all channels) mapping the data to the mesh facets.  

Defined in

Last Updated: 20 September, 2019