Table of Contents

Class GridLinesVisual3D

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A visual element that shows a set of grid lines.

public class GridLinesVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
Inheritance
GridLinesVisual3D
Implements
Inherited Members
Extension Methods

Constructors

GridLinesVisual3D()

Initializes a new instance of the GridLinesVisual3D class.

public GridLinesVisual3D()

Fields

CenterProperty

Identifies the Center dependency property.

public static readonly DependencyProperty CenterProperty

Field Value

DependencyProperty

LengthDirectionProperty

Identifies the LengthDirection dependency property.

public static readonly DependencyProperty LengthDirectionProperty

Field Value

DependencyProperty

LengthProperty

Identifies the Length dependency property.

public static readonly DependencyProperty LengthProperty

Field Value

DependencyProperty

MajorDistanceProperty

Identifies the MajorDistance dependency property.

public static readonly DependencyProperty MajorDistanceProperty

Field Value

DependencyProperty

MinorDistanceProperty

Identifies the MinorDistance dependency property.

public static readonly DependencyProperty MinorDistanceProperty

Field Value

DependencyProperty

NormalProperty

Identifies the Normal dependency property.

public static readonly DependencyProperty NormalProperty

Field Value

DependencyProperty

ThicknessProperty

Identifies the Thickness dependency property.

public static readonly DependencyProperty ThicknessProperty

Field Value

DependencyProperty

WidthProperty

Identifies the Width dependency property.

public static readonly DependencyProperty WidthProperty

Field Value

DependencyProperty

Properties

Center

Gets or sets the center of the grid.

public Point3D Center { get; set; }

Property Value

Point3D

The center.

Length

Gets or sets the length of the grid area.

public double Length { get; set; }

Property Value

double

The length.

LengthDirection

Gets or sets the length direction of the grid.

public Vector3D LengthDirection { get; set; }

Property Value

Vector3D

The length direction.

MajorDistance

Gets or sets the distance between major grid lines.

public double MajorDistance { get; set; }

Property Value

double

The distance.

MinorDistance

Gets or sets the distance between minor grid lines.

public double MinorDistance { get; set; }

Property Value

double

The distance.

Normal

Gets or sets the normal vector of the grid plane.

public Vector3D Normal { get; set; }

Property Value

Vector3D

The normal.

Thickness

Gets or sets the thickness of the grid lines.

public double Thickness { get; set; }

Property Value

double

The thickness.

Width

Gets or sets the width of the grid area (perpendicular to the length direction).

public double Width { get; set; }

Property Value

double

The width.

Methods

Tessellate()

Do the tessellation and return the MeshGeometry3D.

protected override MeshGeometry3D? Tessellate()

Returns

MeshGeometry3D

A triangular mesh geometry.