C# Class HelixToolkit.Wpf.PointGeometryBuilder

Builds a mesh geometry for a collection of points.
Inheritance: HelixToolkit.Wpf.ScreenGeometryBuilder
显示文件 Open project: litdev1/LitDev Class Usage Examples

Public Methods

Method Description
CreateIndices ( int n ) : System.Windows.Media.Int32Collection

Creates the triangle indices.

CreatePositions ( IList points, double size = 1.0, double depthOffset = 0.0 ) : Point3DCollection

Creates the positions for the specified points.

PointGeometryBuilder ( System.Windows.Media.Media3D.Visual3D visual ) : System.Collections.Generic

Initializes a new instance of the PointGeometryBuilder class.

Method Details

CreateIndices() public method

Creates the triangle indices.
public CreateIndices ( int n ) : System.Windows.Media.Int32Collection
n int /// The number of points. ///
return System.Windows.Media.Int32Collection

CreatePositions() public method

Creates the positions for the specified points.
public CreatePositions ( IList points, double size = 1.0, double depthOffset = 0.0 ) : Point3DCollection
points IList /// The points. ///
size double /// The size of the points. ///
depthOffset double /// The depth offset. A positive number (e.g. 0.0001) moves the point towards the camera. ///
return System.Windows.Media.Media3D.Point3DCollection

PointGeometryBuilder() public method

Initializes a new instance of the PointGeometryBuilder class.
public PointGeometryBuilder ( System.Windows.Media.Media3D.Visual3D visual ) : System.Collections.Generic
visual System.Windows.Media.Media3D.Visual3D /// The visual. ///
return System.Collections.Generic