Class PipeVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows a pipe between two points.
public class PipeVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
- Inheritance
-
PipeVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
InnerDiameterProperty
Identifies the InnerDiameter dependency property.
public static readonly DependencyProperty InnerDiameterProperty
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 (outer) diameter.
public double Diameter { get; set; }
Property Value
- double
The diameter. The default value is
1.
InnerDiameter
Gets or sets the inner diameter.
public double InnerDiameter { get; set; }
Property Value
- double
The inner diameter. The default value is
0.
Point1
Gets or sets the start point.
public Point3D Point1 { get; set; }
Property Value
- Point3D
The start point. The default value is
0,0,0.
Point2
Gets or sets the end point.
public Point3D Point2 { get; set; }
Property Value
- Point3D
The end point. The default value is
0,0,10.
ThetaDiv
Gets or sets the theta div.
public int ThetaDiv { get; set; }
Property Value
- int
The theta div. The default value is
36.
Methods
Tessellate()
Do the tessellation and return the MeshGeometry3D.
protected override MeshGeometry3D? Tessellate()
Returns
- MeshGeometry3D
A triangular mesh geometry.