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
Afficher le fichier Open project: gusmanb/MIConvexHull Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AsHullVertex ( ) : Vertex
Résultat Vertex

ToPoint() public méthode

public ToPoint ( ) : Point
Résultat System.Windows.Point

Vertex() public méthode

public Vertex ( System.Windows.Media.Brush fill = null ) : System.Windows
fill System.Windows.Media.Brush
Résultat System.Windows

Vertex() public méthode

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
Résultat System.Windows

Vertex() public méthode

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
Résultat System.Windows.Media