Click or drag to resize
AB4D logo

LatheMesh3D Class

LatheMesh3D class is used to create MeshGeometry3D that represents a 3D object that is created with rotating the shape defined with sections and positioned from specified start and end position.
Inheritance Hierarchy
SystemObject
  Ab3d.MeshesLatheMesh3D

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class LatheMesh3D : IMesh3D

The LatheMesh3D type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyCreatePolygonIndices Gets or sets a nullable Boolean that specifies if the created MeshGeometry3D will have PolygonIndices set to the PolygonIndicesProperty DependencyProperty. If this value is not set, then static CreatePolygonIndicesByDefault value is used. Default value is null.
Public propertyGeometry Gets the MeshGeometry3D that represents a 3D cone.
Public propertyStartAngleVector3D Gets or sets a Vector3D that is used to define the direction in which the segment with StartAngle is facing. This is used as the X axis for the base lathe geometry; the Y axis is defined by calculating a perpendicular vector to StartAngleVector3D and the lathe direction (= endPosition - startPosition). When StartAngleVector3D is null (by default), then MathUtils.GetPerpendicularVectors method is used to calculate the X and Y axes.
Top
See Also