@voxel-3d/docs
    Preparing search index...

    Interface PartToPartResult

    partToPart 측정 결과

    두 메시(파트) 간 최소 거리 계산 결과를 담는 인터페이스

    interface PartToPartResult {
        firstMesh: Mesh;
        secondMesh: Mesh;
        pointOnFirst: Vector3;
        pointOnSecond: Vector3;
        distance: number;
        calculationMethod: "bvh" | "sampling";
    }
    Index

    Properties

    firstMesh: Mesh

    첫 번째 메시

    secondMesh: Mesh

    두 번째 메시

    pointOnFirst: Vector3

    첫 번째 메시 위 최근접점 (월드 좌표)

    pointOnSecond: Vector3

    두 번째 메시 위 최근접점 (월드 좌표)

    distance: number

    두 파트 간 최소 거리

    calculationMethod: "bvh" | "sampling"

    계산 방식