Class RectangleVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows a 3D rectangle defined by origin, normal, length and width.
public class RectangleVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
RectangleVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
DivLengthProperty
Identifies the DivLength dependency property.
public static readonly DependencyProperty DivLengthProperty
Field Value
DivWidthProperty
Identifies the DivWidth dependency property.
public static readonly DependencyProperty DivWidthProperty
Field Value
LengthDirectionProperty
Identifies the LengthDirection dependency property.
public static readonly DependencyProperty LengthDirectionProperty
Field Value
LengthProperty
Identifies the Length dependency property.
public static readonly DependencyProperty LengthProperty
Field Value
NormalProperty
Identifies the Normal dependency property.
public static readonly DependencyProperty NormalProperty
Field Value
OriginProperty
Identifies the Origin dependency property.
public static readonly DependencyProperty OriginProperty
Field Value
WidthProperty
Identifies the Width dependency property.
public static readonly DependencyProperty WidthProperty
Field Value
Properties
DivLength
Gets or sets the number of divisions in the 'length' direction.
public int DivLength { get; set; }
Property Value
- int
The number of divisions.
DivWidth
Gets or sets the number of divisions in the 'width' direction.
public int DivWidth { get; set; }
Property Value
- int
The number of divisions.
Length
Gets or sets the length.
public double Length { get; set; }
Property Value
- double
The length.
LengthDirection
Gets or sets the length direction.
public Vector3D LengthDirection { get; set; }
Property Value
- Vector3D
The length direction.
Normal
Gets or sets the normal vector of the plane.
public Vector3D Normal { get; set; }
Property Value
- Vector3D
The normal.
Origin
Gets or sets the center point of the plane.
public Point3D Origin { get; set; }
Property Value
- Point3D
The origin.
Width
Gets or sets the width.
public double Width { get; set; }
Property Value
- double
The width.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.