Skip to main content

planeClassifyPoint

Callable

  • planeClassifyPoint(plane: Plane, point: Vec3, epsilon?: number): -1 | 0 | 1

  • Classify a point relative to a plane. Returns 1 (front / positive side), -1 (back / negative side), or 0 (on plane within epsilon).


    Parameters

    • plane: Plane
    • point: Vec3
    • epsilon: number = ZERO_EPSILON

    Returns -1 | 0 | 1