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.3179.0 (4.8.3179.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 
Public propertyNormal 
Public propertyNormalized 
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)
(Overrides ValueTypeEquals(Object))
Public methodEquals(PlaneD3D, PlaneD3D) 
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetHashCode(PlaneD3D) 
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