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

Last Updated: 04 June, 2026