Click or drag to resize

Plane Structure

Represents a double precision plane in three-dimensional space.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public struct Plane

The Plane type exposes the following members.

Constructors
  NameDescription
Public methodPlane(Plane)
Constructs a plane with another specified Plane object.
Public methodPlane(PlaneF)
Constructs a plane with the specified PlaneF object.
Public methodPlane(Vector4)
Constructs a plane from the given Vector4 object.
Public methodPlane(Vector3, Double)
Constructs a plane with the given normal and the distance along this normal from the origin.
Public methodPlane(Double, Double, Double, Double)
Constructs a plane with the given A, B, C and D components.
Top
Properties
  NameDescription
Public propertyDistance
The distance of the plane along its normal from the origin.
Public propertyItem
Gets or sets the component at the specified index.
Public propertyNormal
The normal vector of the plane.
Top
Methods
  NameDescription
Public methodStatic memberAdd
Adds two planes.
Public methodEquals(Object)
Determines whether the specified object is equal to the current instance of Plane.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Plane, Double)
Determines whether the specified plane is equal to the current instance of Plane with a given precision.
Public methodEquals(Plane, Double)
Determines whether the specified plane is equal to the current instance of Plane with a given precision.
Public methodEquals(Plane, Double, Double)
Determines whether the specified plane is equal to the current instance of Plane with the given normal and distance precisions.
Public methodEquals(Plane, Double, Double)
Determines whether the specified plane is equal to the current instance of Plane with the given normal and distance precisions.
Public methodStatic memberFromPointAndNormal(Vector3, Vector3)
Creates an instance of Plane with the normal and the point.
Public methodStatic memberFromPointAndNormal(Vector3, Vector3, Plane)
Creates an instance of Plane with the normal and the point.
Public methodStatic memberFromPoints(Vector3, Vector3, Vector3)
Creates an instance of Plane that contains the three given points.
Public methodStatic memberFromPoints(Vector3, Vector3, Vector3, Plane)
Creates an instance of Plane that contains the three given points.
Public methodStatic memberFromVectors(Vector3, Vector3, Vector3)
Creates an instance of Plane with point and two direction vectors.
Public methodStatic memberFromVectors(Vector3, Vector3, Vector3, Plane)
Creates an instance of Plane with point and two direction vectors.
Public methodGetDistance(Vector3)
Calculates the dot product of a specified vector and the normal of the plane plus the distance value of the plane.
Public methodGetDistance(Vector3)
Calculates the dot product of a specified vector and the normal of the plane plus the distance value of the plane.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetNormalize
Converts a normal vector of the current instance of Plane into a unit vector and returns the resulting plane.
Public methodGetSide(Bounds)
Returns side of the plane that the given box lies on. The box is defined as bounds.
Public methodGetSide(Bounds)
Returns side of the plane that the given box lies on. The box is defined as bounds.
Public methodGetSide(Vector3)
Determines from which side of the plane the point is on.
Public methodGetSide(Vector3)
Determines from which side of the plane the point is on.
Public methodGetSide(Vector3, Vector3)
Returns side of the plane that the given box lies on. The box is defined as centre/half-size pairs for effectively.
Public methodGetSide(Vector3, Double)
Determines from which side of the plane the point is on (with the given precision).
Public methodGetSide(Vector3, Vector3)
Returns side of the plane that the given box lies on. The box is defined as centre/half-size pairs for effectively.
Public methodGetSide(Vector3, Double)
Determines from which side of the plane the point is on (with the given precision).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersects(Line3, Vector3)
Public methodIntersects(Line3, Double)
Determines whether the given line intersects the current instance of Plane.
Public methodIntersects(Line3, Double)
Determines whether the given line intersects the current instance of Plane.
Public methodIntersects(Ray, Vector3)
Determines whether the given ray intersects the current instance of Plane.
Public methodIntersects(Ray, Double)
Determines whether the given ray intersects the current instance of Plane.
Public methodIntersects(Ray, Vector3)
Determines whether the given ray intersects the current instance of Plane.
Public methodIntersects(Ray, Double)
Determines whether the given ray intersects the current instance of Plane.
Public methodStatic memberNegate
Reverses the direction of a given plane.
Public methodNormalize
Converts a normal vector of the current instance of Plane into a unit vector.
Public methodStatic memberParse
Converts a string representation of a plane into the equivalent Plane structure.
Public methodStatic memberSubtract
Subtracts two planes.
Public methodToPlaneF
Converts the current instance of Plane to the plane of PlaneF format.
Public methodToString
Returns a String that represents the current instance of Plane.
(Overrides ValueTypeToString.)
Public methodToString(Int32)
Returns a String that represents the current instance of Plane with a given precision.
Public methodToVector4
Converts the current instance of Plane into an instance of Vector4.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two planes.
Public operatorStatic memberEquality
Determines whether two given planes are equal.
Public operatorStatic memberInequality
Determines whether two given planes are unequal.
Public operatorStatic memberSubtraction
Subtracts two planes.
Public operatorStatic memberUnaryNegation
Reverses the direction of a given plane.
Top
Fields
  NameDescription
Public fieldA
The A component of the plane.
Public fieldB
The B component of the plane.
Public fieldC
The C component of the plane.
Public fieldD
The D component of the plane.
Public fieldStatic memberZero
Returns the plane with all of its components set to zero.
Top
Extension Methods
See Also