Table of Contents

Class PointGeometryBuilder

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Builds a mesh geometry for a collection of points.

public sealed class PointGeometryBuilder : ScreenGeometryBuilder
Inheritance
PointGeometryBuilder
Inherited Members

Constructors

PointGeometryBuilder(Visual3D)

Initializes a new instance of the PointGeometryBuilder class.

public PointGeometryBuilder(Visual3D visual)

Parameters

visual Visual3D

The visual.

Methods

CreateIndices(int)

Creates the triangle indices.

public Int32Collection CreateIndices(int n)

Parameters

n int

The number of points.

Returns

Int32Collection

The triangle indices.

CreatePositions(IList<Point3D>, double, double)

Creates the positions for the specified points.

public Point3DCollection CreatePositions(IList<Point3D> points, double size = 1, double depthOffset = 0)

Parameters

points IList<Point3D>

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.

Returns

Point3DCollection

The positions collection.