Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 464 Bytes

File metadata and controls

25 lines (15 loc) · 464 Bytes

Solid.getFace()

Returns the triangle records that currently belong to one face label.

Usage

const triangles = solid.getFace('TOP');

Signature

solid.getFace(name)

Parameters

  • name (string) - Face label to query.

Returns

Array<{ faceName: string, indices: number[], p1: number[], p2: number[], p3: number[] }> - Triangle records for the face.

Use this when you need authored triangle positions for one face name.