Bitbybit Docs
    Preparing search index...

    Interface FaceClosestPoint (Models.OCCT)

    The point of a face nearest a given point: its u and v as fractions of the face's UV bounds, as shapes.face.pointOnUV takes them, its distance from the given point, the face's unit normal there, and whether it lies on the face's boundary, where a point beyond the face's edges comes to.

    interface FaceClosestPoint {
        point: Point3;
        u: number;
        v: number;
        distance: number;
        normal: Vector3;
        isOnBoundary: boolean;
    }
    Index

    Properties

    point: Point3
    u: number
    v: number
    distance: number
    normal: Vector3
    isOnBoundary: boolean