Click or drag to resize

PlaneD3D Structure

Represents a plane in 3d space. For the definition how it works as a clipping plane see the example below.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.GeometryPlaneD3D

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public struct PlaneD3D : IEqualityComparer<PlaneD3D>

The PlaneD3D type exposes the following members.

Constructors
 NameDescription
Public methodPlaneD3D Initializes a new instance of the PlaneD3D struct.
Top
Properties
 NameDescription
Public propertyStatic memberEmpty Gets an empty plane (all components zero).
Public propertyNormal Gets the normal vector of the plane.
Public propertyNormalized Gets the normalized plane (normal vector length 1).
Public propertyW Gets the distance of the plane to the origin (0,0,0). If the plane's normal vector is not normalized, this is the distance in units of the plane's normal.
Public propertyX Gets the x component of the plane's normal.
Public propertyY Gets the y component of the plane's normal.
Public propertyZ Gets the z component of the plane's normal.
Top
Methods
 NameDescription
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PlaneD3D, PlaneD3D)Determines whether the specified objects are equal.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetHashCode(PlaneD3D)Returns a hash code for the specified object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Example
Lets assume the normal vector (x,y,z) of the clipping plane is (1,0,0), i.e. points in x-direction, and the w component is -200. Then everything that is left of the point x=+200 is clipped (i.e. every point with x<+200), and thus everything right (with x>+200) is visible.
See Also