Plane.Dot Method ()

Computes the dot product of a plane and a vector.

Overload List

public float Dot(Vector3);
public float Dot(Vector4);

Remarks

Given a plane (a, b, c, d) and a 4-D vector (x, y, z, w), this method's return value is a*x + b*y + c*z + d*w. The Dot method is useful for determining the plane's relationship with a homogeneous coordinate. For example, it can determine whether a coordinate is on a particular plane, or on which side of a particular plane a coordinate lies.

Given a plane (a, b, c, d) and a 3-D vector (x, y, z), this method's return value is a*x + b*y + c*z + d*1. The Dot method is useful for determining the plane's relationship with a coordinate in 3-D space.

See Also