distanceToPoint method

double distanceToPoint(
  1. Vector3 point
)

Computes the signed distance from the given 3D vector to this polygon. The method uses the polygon's plane abstraction in order to compute this value.

Implementation

double distanceToPoint(Vector3 point ) {
	return plane.distanceToPoint( point );
}