FacetLocationDetail Interface
Carries data about a point in the plane of a facet of a mesh.
@see intersectRay3d
Implemented by
Methods
| Name | Description | |
|---|---|---|
| clone(): FacetLocationDetail | Clone the instance | |
| copyContentsFrom(other: FacetLocationDetail): void | Set the instance contents from the other detail | |
| getBarycentricCoordinates(facetVertices?: IndexedXYZCollection, distanceTolerance?: number): number[] | undefined | Get reference to cached barycentric coordinates of the point. | |
| getColor(facetColors?: number[], facetVertices?: IndexedXYZCollection, distanceTolerance?: number): number | undefined | Get cached color interpolated from facet data. | |
| getNormal(facetNormals?: IndexedXYZCollection, facetVertices?: IndexedXYZCollection, distanceTolerance?: number): Vector3d | undefined | Get reference to cached normal interpolated from facet data. | |
| getParam(facetParams?: IndexedXYCollection, facetVertices?: IndexedXYZCollection, distanceTolerance?: number): Point2d | undefined | Get reference to cached uv parameter interpolated from facet data. |
Defined in
- polyface/FacetLocationDetail.ts Line 57
Last Updated: 04 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.