Plane.distance_to_point

Plane.distance_to_point(point)[source]

Compute the distance from a given point to the plane.

Parameters:
point[float, float, float] | compas.geometry.Point

The point.

Returns:
float

The distance from the point to the plane.

Examples

>>> plane = Plane.worldXY()
>>> plane.distance_to_point([1.0, 1.0, 1.0])
1.0