PlaneEquation Class

Plane equation definition.
Public Class PlaneEquation 
Inherits Vector3D
This language is not supported or no code example is available.
public class PlaneEquation : Vector3D
This language is not supported or no code example is available.
Name Description
Protected constructor PlaneEquation(PlaneEquation)
Public constructor PlaneEquation() Empty constructor.
Public constructor PlaneEquation(Point3D, Vector3D) 3D point and 3D normal constructor.
Public constructor PlaneEquation(double, double, double, double) Plane's coefficients constructor. Equation form: ax + by + cz + d = 0.
Top
Name Description
Public property Angle Gets the angle between the X-axis and the 2D vector. (inherited from Vector2D).
Public property AngleFromXY Gets the angle between the vector and the XY plane. (inherited from Vector3D).
Public property AngleInXY Gets the angle between the X-axis and the vector projection on the XY plane. (inherited from Vector3D).
Public property AsPoint (inherited from Vector3D).
Public property Static AxisMinusX Returns the -X axis vector. (inherited from Vector3D).
Public property Static AxisMinusY Returns the -Y axis vector. (inherited from Vector3D).
Public property Static AxisMinusZ Returns the -Z axis vector. (inherited from Vector3D).
Public property Static AxisX Returns the +X axis vector. (inherited from Vector3D).
Public property Static AxisY Returns the +Y axis vector. (inherited from Vector3D).
Public property Static AxisZ Returns the +Z axis vector. (inherited from Vector3D).
Public property IsUnit True if the vector has length equal to one. (inherited from Vector3D).
Public property IsZero True if the vector has length equal to zero. (inherited from Vector3D).
Public property Item(int) (inherited from Vector3D).
Public property Length Gets or sets the 3D vector length. (inherited from Vector3D).
Public property LengthSquared Gets or sets the vector length. (inherited from Vector3D).
Public property MaximumCoordinate Gets the absolute value of the maximum coordinate. (inherited from Vector3D).
Top
Methods
 
Name Description
Public method Static Add(Point3D, Point3D) Addition between two 3D points. (inherited from Vector3D).
Public method Static AngleBetween(Vector3D, Vector3D) Computes the angle between two vectors. (inherited from Vector3D).
Public method Static AreCoincident(Vector3D, Vector3D) Returns true if the angle between the two 3D vectors is zero. (inherited from Vector3D).
Public method Static AreCoincident(Vector3D, Vector3D, double) Returns true if the angle between the two 3D vectors is zero or almost zero. (inherited from Vector3D).
Public method Static AreOpposite(Vector3D, Vector3D) Returns true if the angle between the two 3D vectors is PI. (inherited from Vector3D).
Public method Static AreOpposite(Vector3D, Vector3D, double) Returns true if the angle between the two 3D vectors is PI or almost PI. (inherited from Vector3D).
Public method Static AreOrthogonal(Vector3D, Vector3D) Returns true if the angle between the two 3D vectors is PI/2. (inherited from Vector3D).
Public method Static AreOrthogonal(Vector3D, Vector3D, double) Returns true if the angle between the two 3D vectors is PI/2 or almost PI/2. (inherited from Vector3D).
Public method Static AreParallel(Vector3D, Vector3D) Returns true if the angle between the two 3D vectors is 0 or PI. (inherited from Vector3D).
Public method Static AreParallel(Vector3D, Vector3D, double) Returns true if the angle between the two 3D vectors is zero or PI or almost zero or almost PI. (inherited from Vector3D).
Public method Clone() Creates a deep copy of this plane equation.
Public method ConvertToSurrogate()
Public method ConvertToSurrogate_V6()
Public method Create(Point3D, Vector3D) Creates a plane equation from a 3D point and 3D normal vector. It sets (X,Y,Z) to a unitized N, then sets D = -(X*P.X + y*P.Y + Z*P.Z).
Public method Static Cross(Point3D, Point3D) Cross product between two 3D points. (inherited from Vector3D).
Public method Static Cross(Vector3D, Vector3D) Cross product between two 3D vectors. (inherited from Vector3D).
Public method Static Dot(Point3D, Vector3D) Dot product between a 3D point and a 3D vector. (inherited from Vector3D).
Public method Static Dot(Vector3D, Vector3D) Dot product between two 3D vectors. (inherited from Vector3D).
Public method Static Dot(Vector3D, Point3D) Dot product between a 3D vector and a 3D point. (inherited from Vector3D).
Public method Equals(Vector3D) (inherited from Vector3D).
Public method Equals(object) Determines whether the specified object is equal to the current object. (inherited from Vector3D).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode() Serves as the default hash function. (inherited from Vector3D).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method GetXElement() (inherited from Vector3D).
Public method IsValid() Checks if this plane equation is valid.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Negate() Reverses the 3D vector direction.
Public method Normalize() Resizes the 3D vector to unit length. (inherited from Vector3D).
Public method Static PerpDotProduct(Vector2D, Vector2D) Perpendicular dot product. (inherited from Vector2D).
Public method PerpendicularTo(Vector3D) Sets this vector to be perpendicular to another vector. The result is not normalized. (inherited from Vector3D).
Public method Static ReadXml(XmlNode) (inherited from Vector3D).
Public method Static ReadXml(string) (inherited from Vector3D).
Public method Reverse() Inverts the 2D vector direction. (inherited from Vector2D).
Public method Static SignedAngleBetween(Vector2D, Vector2D) Computes the angle between two 2D vectors. (inherited from Vector2D).
Public method Static Subtract(Point3D, Point3D) Subtraction between two 3D points. (inherited from Vector3D).
Public method ToArray() Returns an array of plane equation's coefficients.
Public method ToString() Converts this planar equation to a human readable string.
Public method ToStringXml() Converts this 3D vector to a human readable string. (inherited from Vector3D).
Public method TransformBy(Transformation) Transforms the 3D vector by the specified transformation. (inherited from Vector3D).
Public method ValueAt(Point3D) Evaluate the plane at a point.
Public method ValueAt(double, double, double) Evaluate the plane at a point.
Public method WriteAsFloat(BinaryWriter) (inherited from Vector3D).
Public method WriteXml(XmlTextWriter) (inherited from Vector3D).
Public method Zero() Sets all the vector components to zero. (inherited from Vector3D).
Top
Name Description
Operator Static Addition Addition between two 3D vectors. (inherited from Vector3D).
Operator Static Division Division between a 3D vector and a scalar s. (inherited from Vector3D).
Operator Static Equality (inherited from Vector3D).
Operator Static Inequality (inherited from Vector3D).
Operator Static Multiply Multiplication between a 3D vector and a scalar s. (inherited from Vector3D).
Operator Static Multiply Multiplication between a scalar value and a 3D vector. (inherited from Vector3D).
Operator Static Multiply Dot product between two 3D vectors. (inherited from Vector3D).
Operator Static Subtraction Subtraction between two vectors. (inherited from Vector3D).
Top
Name Description
Public extension method DrawGL(this Point2D) Calls glVertex2d(X, Y) (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this Point3D) Calls glVertex3d(X, Y, Z). (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this PointNormalUv) Calls glNormal3d(Nx, Ny, Nz) and glVertex3d(X, Y, Z) (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this PointNormalUv, Color[]) For internal use only. (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this PointRGB) Calls gl.Color3ub(R, G, B) and glVertex3d(X, Y, Z). (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this PointWithDisplacement, double) Calls gl.Vertex3d(X+UX, Y+UY, Z+UZ). (Defined by ExtensionMethodsGL).
Public extension method DrawGL(this Vector3D) Calls gl.Normal3d(X, Y, Z) (Defined by ExtensionMethodsGL).
Top
Fields
 
Name Description
Public field D D term.
Public field X X coordinate value. (inherited from Vector2D).
Public field Y Y coordinate value. (inherited from Vector2D).
Public field Z (inherited from Vector3D).
Top

.NET Framework

Supported in: 4.8

In this article

Definition