Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Vertex.cs
2{
6 public class Vertex : Point
7 {
13 public Vertex(Layout2DDocument Document, ILayoutElement Parent)
14 : base(Document, Parent)
15 {
16 }
17
21 public override string LocalName => "Vertex";
22
29 public override ILayoutElement Create(Layout2DDocument Document, ILayoutElement Parent)
30 {
31 return new Vertex(Document, Parent);
32 }
33
37 public float XCoordinate => this.xCoordinate;
38
42 public float YCoordinate => this.yCoordinate;
43 }
44}
Contains a 2D layout document.
Abstract base class for layout elements with one point.
Definition: Point.cs:11
float yCoordinate
Measured Y-coordinate
Definition: Point.cs:122
float xCoordinate
Measured X-coordinate
Definition: Point.cs:117
Defines a vertex in the graf
Definition: Vertex.cs:7
float YCoordinate
Measured Y-coordinate
Definition: Vertex.cs:42
override string LocalName
Local name of type of element.
Definition: Vertex.cs:21
float XCoordinate
Measured X-coordinate
Definition: Vertex.cs:37
Vertex(Layout2DDocument Document, ILayoutElement Parent)
Defines a vertex in the graf
Definition: Vertex.cs:13
override ILayoutElement Create(Layout2DDocument Document, ILayoutElement Parent)
Creates a new instance of the layout element.
Definition: Vertex.cs:29
Base interface for all layout elements.