Math module

plane_from_point_and_normal

procedure · 1 overloadSource

A plane through point with the given normal: make_plane(normal, point).

ExampleOpen in playground ↗
p := plane_from_point_and_normal(xyz(0, 5, 0), xyz(0, 1, 0));
assert(plane_dot(p, xyz(7, 8, 7)) == 3);
plane_from_point_and_normal :: (point: Vector3, normal: Vector3) -> Plane3

A plane through a point with the given normal.

Parameters

point: Vector3
a point on the plane.
normal: Vector3
the plane's normal.

Returns

See also