brepjs API Reference
    Preparing search index...

    Interface PointProjectionResult

    Result of projecting a point onto a face surface.

    interface PointProjectionResult {
        distance: number;
        point: Vec3;
        uv: [number, number];
    }
    Index

    Properties

    Properties

    distance: number

    Distance from the input point to the projected point.

    point: Vec3

    The closest 3D point on the surface.

    uv: [number, number]

    UV coordinates on the surface.