C# Class HelixToolkit.Wpf.GridLinesVisual3D

A visual element that shows a set of grid lines.
Inheritance: MeshElement3D
Exibir arquivo Open project: litdev1/LitDev Class Usage Examples

Public Properties

Property Type Description
CenterProperty System.Windows.DependencyProperty
LengthDirectionProperty System.Windows.DependencyProperty
LengthProperty System.Windows.DependencyProperty
MajorDistanceProperty System.Windows.DependencyProperty
MinorDistanceProperty System.Windows.DependencyProperty
NormalProperty System.Windows.DependencyProperty
ThicknessProperty System.Windows.DependencyProperty
WidthProperty System.Windows.DependencyProperty

Public Methods

Method Description
GridLinesVisual3D ( ) : System

Initializes a new instance of the GridLinesVisual3D class.

Protected Methods

Method Description
Tessellate ( ) : System.Windows.Media.Media3D.MeshGeometry3D

Do the tesselation and return the MeshGeometry3D.

Private Methods

Method Description
AddLineX ( MeshBuilder mesh, double x, double minY, double maxY, double thickness ) : void

The add line x.

AddLineY ( MeshBuilder mesh, double y, double minX, double maxX, double thickness ) : void

The add line y.

GetPoint ( double x, double y ) : System.Windows.Media.Media3D.Point3D

Gets a point on the plane.

IsMultipleOf ( double y, double d ) : bool

Determines whether y is a multiple of d.

Method Details

GridLinesVisual3D() public method

Initializes a new instance of the GridLinesVisual3D class.
public GridLinesVisual3D ( ) : System
return System

Tessellate() protected method

Do the tesselation and return the MeshGeometry3D.
protected Tessellate ( ) : System.Windows.Media.Media3D.MeshGeometry3D
return System.Windows.Media.Media3D.MeshGeometry3D

Property Details

CenterProperty public_oe static_oe property

Identifies the Center dependency property.
public static DependencyProperty,System.Windows CenterProperty
return System.Windows.DependencyProperty

LengthDirectionProperty public_oe static_oe property

Identifies the LengthDirection dependency property.
public static DependencyProperty,System.Windows LengthDirectionProperty
return System.Windows.DependencyProperty

LengthProperty public_oe static_oe property

Identifies the Length dependency property.
public static DependencyProperty,System.Windows LengthProperty
return System.Windows.DependencyProperty

MajorDistanceProperty public_oe static_oe property

Identifies the MajorDistance dependency property.
public static DependencyProperty,System.Windows MajorDistanceProperty
return System.Windows.DependencyProperty

MinorDistanceProperty public_oe static_oe property

Identifies the MinorDistance dependency property.
public static DependencyProperty,System.Windows MinorDistanceProperty
return System.Windows.DependencyProperty

NormalProperty public_oe static_oe property

Identifies the Normal dependency property.
public static DependencyProperty,System.Windows NormalProperty
return System.Windows.DependencyProperty

ThicknessProperty public_oe static_oe property

Identifies the Thickness dependency property.
public static DependencyProperty,System.Windows ThicknessProperty
return System.Windows.DependencyProperty

WidthProperty public_oe static_oe property

Identifies the Width dependency property.
public static DependencyProperty,System.Windows WidthProperty
return System.Windows.DependencyProperty