Class ArrowVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows an arrow.
public class ArrowVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
ArrowVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
HeadLengthProperty
Identifies the HeadLength dependency property.
public static readonly DependencyProperty HeadLengthProperty
Field Value
Point1Property
Identifies the Point1 dependency property.
public static readonly DependencyProperty Point1Property
Field Value
Point2Property
Identifies the Point2 dependency property.
public static readonly DependencyProperty Point2Property
Field Value
ThetaDivProperty
Identifies the ThetaDiv dependency property.
public static readonly DependencyProperty ThetaDivProperty
Field Value
Properties
Diameter
Gets or sets the diameter.
public double Diameter { get; set; }
Property Value
- double
The diameter.
Direction
Gets or sets the direction.
public Vector3D Direction { get; set; }
Property Value
- Vector3D
The direction.
HeadLength
Gets or sets the length of the head (relative to diameter of the arrow cylinder).
public double HeadLength { get; set; }
Property Value
- double
The length of the head relative to the diameter.
Origin
Gets or sets the origin.
public Point3D Origin { get; set; }
Property Value
- Point3D
The origin.
Point1
Gets or sets the start point of the arrow.
public Point3D Point1 { get; set; }
Property Value
- Point3D
The start point.
Point2
Gets or sets the end point of the arrow.
public Point3D Point2 { get; set; }
Property Value
- Point3D
The end point.
ThetaDiv
Gets or sets the number of divisions around the arrow.
public int ThetaDiv { get; set; }
Property Value
- int
The number of divisions.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.