Class Edge
Describes two connected vertices.
Inherited Members
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public class Edge : UsageTrackingObject<Face>
Constructors
| Improve this Doc View SourceEdge(Vertex, Vertex)
Creates an instance of the Edge class.
Declaration
public Edge(Vertex a, Vertex b)
Parameters
| Type | Name | Description |
|---|---|---|
| Vertex | a | The vertex A. |
| Vertex | b | The vertex B. |
Fields
| Improve this Doc View Sourcea
The vertex A.
Declaration
public readonly Vertex a
Field Value
| Type | Description |
|---|---|
| Vertex | The vertex A. |
b
The vertex B.
Declaration
public readonly Vertex b
Field Value
| Type | Description |
|---|---|
| Vertex | The vertex B. |
Methods
| Improve this Doc View SourceGetOtherUser(Face)
Gets the other user of the edge.
Declaration
public Face GetOtherUser(Face user)
Parameters
| Type | Name | Description |
|---|---|---|
| Face | user | The first user. |
Returns
| Type | Description |
|---|---|
| Face | The other user or |
Remarks
In most cases, the edge should have a maximum of two users.