Class TruncatedConeVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows a truncated cone defined by origin, height, normal, base- and top radius.
public class TruncatedConeVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
TruncatedConeVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
BaseCapProperty
Identifies the BaseCap dependency property.
public static readonly DependencyProperty BaseCapProperty
Field Value
BaseRadiusProperty
Identifies the BaseRadius dependency property.
public static readonly DependencyProperty BaseRadiusProperty
Field Value
HeightProperty
Identifies the Height dependency property.
public static readonly DependencyProperty HeightProperty
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
ThetaDivProperty
Identifies the ThetaDiv dependency property.
public static readonly DependencyProperty ThetaDivProperty
Field Value
TopCapProperty
Identifies the TopCap dependency property.
public static readonly DependencyProperty TopCapProperty
Field Value
TopRadiusProperty
Identifies the TopRadius dependency property.
public static readonly DependencyProperty TopRadiusProperty
Field Value
Properties
BaseCap
Gets or sets a value indicating whether to include a base cap.
public bool BaseCap { get; set; }
Property Value
BaseRadius
Gets or sets the base radius.
public double BaseRadius { get; set; }
Property Value
- double
The base radius.
Height
Gets or sets the height.
public double Height { get; set; }
Property Value
- double
The height.
Normal
Gets or sets the normal.
public Vector3D Normal { get; set; }
Property Value
- Vector3D
The normal.
Origin
Gets or sets the origin.
public Point3D Origin { get; set; }
Property Value
- Point3D
The origin.
ThetaDiv
Gets or sets the theta div.
public int ThetaDiv { get; set; }
Property Value
- int
The theta div.
TopCap
Gets or sets a value indicating whether to include a top cap.
public bool TopCap { get; set; }
Property Value
TopRadius
Gets or sets the top radius.
public double TopRadius { get; set; }
Property Value
- double
The top radius.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.