C# Class ExampleWithGraphics.Vertex

A vertex is a simple class that stores the postion of a point, node or vertex.
Inheritance: System.Windows.Shapes.Shape, IVertex
Exibir arquivo Open project: gusmanb/MIConvexHull Class Usage Examples

Public Methods

Method Description
AsHullVertex ( ) : Vertex
ToPoint ( ) : Point
Vertex ( System.Windows.Media.Brush fill = null ) : System.Windows
Vertex ( double x, double y, System.Windows.Media.Brush fill = null ) : System.Windows

Initializes a new instance of the Vertex class.

Vertex ( double x, double y, double z, bool isHull = false ) : System.Windows.Media

Initializes a new instance of the Vertex class.

Method Details

AsHullVertex() public method

public AsHullVertex ( ) : Vertex
return Vertex

ToPoint() public method

public ToPoint ( ) : Point
return System.Windows.Point

Vertex() public method

public Vertex ( System.Windows.Media.Brush fill = null ) : System.Windows
fill System.Windows.Media.Brush
return System.Windows

Vertex() public method

Initializes a new instance of the Vertex class.
public Vertex ( double x, double y, System.Windows.Media.Brush fill = null ) : System.Windows
x double The x position.
y double The y position.
fill System.Windows.Media.Brush
return System.Windows

Vertex() public method

Initializes a new instance of the Vertex class.
public Vertex ( double x, double y, double z, bool isHull = false ) : System.Windows.Media
x double The x position.
y double The y position.
z double The z position.
isHull bool
return System.Windows.Media