Edge Structure
Represents an edge in a MeshGeometry.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public struct Edge :
System.IEquatable<Edge>Remarks
An Edge consists of two indices into a MeshGeometry.Vertices collection where the vertex coordinates are stored. The vertices form a line segment that can be visualized with a LineVisualizer.
It is up to the application to make sure every Edge in a collection of MeshGeometry.Edges contain valid vertex indices.
Platforms
Windows, Linux, Android
Edge Members
The Edge type has the following members.
Constructors
| Name | Description |
|---|---|
| Edge | Initializes a new instance of the Edge class. |
Properties
| Name | Description |
|---|---|
| Vertex0 | Gets index of the first vertex in the edge. |
| Vertex1 | Gets the index of the second vertex in the edge. |
Methods
| Name | Description |
|---|---|
| Equals | Overloaded. Determines whether two Edge objects have the same value. |
| GetHashCode | Returns the hash code for this Edge. |
| Determines whether two specified Edge objects have the same value. | |
| Determines whether two specified Edge objects have different values. | |
| ToString | Converts this Edge to a human readable string. |