Click or drag to resize
Accord.NET (logo)

Plane Class

3D Plane class with normal vector and distance from origin.
Inheritance Hierarchy
SystemObject
  Accord.MathPlane

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public class Plane : IEquatable<Plane>, 
	IFormattable
Request Example View Source

The Plane type exposes the following members.

Constructors
  NameDescription
Public methodPlane(Vector3)
Creates a new Plane object passing through the Origin.
Public methodPlane(Vector3, Single)
Initializes a new instance of the Plane class.
Public methodPlane(Single, Single, Single)
Creates a new Plane object passing through the Origin.
Public methodPlane(Single, Single, Single, Single)
Initializes a new instance of the Plane class.
Top
Properties
  NameDescription
Public propertyA
Gets or sets the constant a in the plane definition a * x + b * y + c * z + d = 0.
Public propertyB
Gets or sets the constant b in the plane definition a * x + b * y + c * z + d = 0.
Public propertyC
Gets or sets the constant c in the plane definition a * x + b * y + c * z + d = 0.
Public propertyNormal
Gets the plane's normal vector.
Public propertyOffset
Gets or sets the distance offset between the plane and the origin.
Top
Methods
  NameDescription
Public methodDistanceToPoint
Computes the distance from point to plane.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(Plane)
Determines whether the specified Plane is equal to this instance.
Public methodEquals(Plane, Double)
Determines whether the specified Plane is equal to this instance.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromPoints
Constructs a new Plane object from three points.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize
Normalizes this plane by dividing its components by the Normal vector's norm.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodToString(Char)
Returns a String that represents this instance.
Public methodToString(Char, IFormatProvider)
Returns a String that represents this instance.
Public methodToString(String, IFormatProvider)
Returns a String that represents this instance.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator !=.
Public operatorStatic memberInequality
Implements the operator !=.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also