Class PieSliceVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows a flat pie slice defined by center, normal, up vectors, inner and outer radius, start and end angles.
public class PieSliceVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
PieSliceVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
CenterProperty
Identifies the Center dependency property.
public static readonly DependencyProperty CenterProperty
Field Value
EndAngleProperty
Identifies the EndAngle dependency property.
public static readonly DependencyProperty EndAngleProperty
Field Value
InnerRadiusProperty
Identifies the InnerRadius dependency property.
public static readonly DependencyProperty InnerRadiusProperty
Field Value
NormalProperty
Identifies the Normal dependency property.
public static readonly DependencyProperty NormalProperty
Field Value
OuterRadiusProperty
Identifies the OuterRadius dependency property.
public static readonly DependencyProperty OuterRadiusProperty
Field Value
StartAngleProperty
Identifies the StartAngle dependency property.
public static readonly DependencyProperty StartAngleProperty
Field Value
ThetaDivProperty
Identifies the ThetaDiv dependency property.
public static readonly DependencyProperty ThetaDivProperty
Field Value
UpVectorProperty
Identifies the UpVector dependency property.
public static readonly DependencyProperty UpVectorProperty
Field Value
Properties
Center
Gets or sets the center.
public Point3D Center { get; set; }
Property Value
- Point3D
The center.
EndAngle
Gets or sets the end angle.
public double EndAngle { get; set; }
Property Value
- double
The end angle.
InnerRadius
Gets or sets the inner radius.
public double InnerRadius { get; set; }
Property Value
- double
The inner radius.
Normal
Gets or sets the normal.
public Vector3D Normal { get; set; }
Property Value
- Vector3D
The normal.
OuterRadius
Gets or sets the outer radius.
public double OuterRadius { get; set; }
Property Value
- double
The outer radius.
StartAngle
Gets or sets the start angle.
public double StartAngle { get; set; }
Property Value
- double
The start angle.
ThetaDiv
Gets or sets the number of angular divisions of the slice.
public int ThetaDiv { get; set; }
Property Value
- int
The theta div.
UpVector
Gets or sets up vector.
public Vector3D UpVector { get; set; }
Property Value
- Vector3D
Up vector.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.