# Plane

Represents a plane in 3D space defined by a normal vector and a distance from the origin. Used for geometric calculations like intersection points, containment tests, and distance measurements.

## Properties

The normal vector of the plane, perpendicular to its surface.

The shortest distance between the plane and the origin along its normal.

Returns a new plane with the normal vector flipped.

## Methods

Determines if a ray intersects the plane and returns the intersection point distance.

#### Parameters

##### ray

RayThe ray to test for intersection.

#### Returns

A tuple containing intersection status and distance.

Sets the normal vector and a point on the plane to redefine its position.

Recalculates the plane to contain three specified points.

Flips the plane's normal vector.

#### Returns

Moves the plane by a specified offset in 3D space.

Finds the point on the plane closest to a given point.

Calculates the shortest distance from a point to the plane.

#### Parameters

##### point

Vector3The point to calculate the distance from.

#### Returns

Determines which side of the plane a point lies on.

#### Parameters

##### point

Vector3The point to test.

#### Returns

Returns true if the point is on the same side as the plane's normal.

Checks if two points are on the same side of the plane.