Skip to content
Shapemetry

@huukhanhnguyen/model / nodeMethods/plane

nodeMethods/plane

distance()

distance(plane, query): number

Signed distance from the plane to a query point (positive = normal side).

Parameters

plane

Plane

query

Point

Returns

number


fromPointNormal()

fromPointNormal(point, normal): Plane

Build a plane from a point on it and its normal (normalized).

Parameters

point

Point

normal

Vector

Returns

Plane


normal()

normal(plane): Vector

Parameters

plane

Plane

Returns

Vector


point()

point(plane): Point

The point passed to fromPointNormal (not plane_origin foot-of-perpendicular).

Parameters

plane

Plane

Returns

Point

Last updated: 📖 1 min readEdit on GitHub