Class VoronoiEdge<TVertex, TCell>
A class representing an (undirected) edge of the Voronoi graph.
Namespace: NWH.DWP2.MiConvexHull
Assembly: NWH.DWP2.dll
Syntax
public class VoronoiEdge<TVertex, TCell> where TVertex : IVertex where TCell : TriangulationCell<TVertex, TCell>
Type Parameters
| Name | Description |
|---|---|
| TVertex | The type of the t vertex. |
| TCell | The type of the t cell. |
Constructors
| Edit this page View SourceVoronoiEdge()
Create an instance of the edge.
Declaration
public VoronoiEdge()
VoronoiEdge(TCell, TCell)
Create an instance of the edge.
Declaration
public VoronoiEdge(TCell source, TCell target)
Parameters
| Type | Name | Description |
|---|---|---|
| TCell | source | The source. |
| TCell | target | The target. |
Properties
| Edit this page View SourceSource
Source of the edge.
Declaration
public TCell Source { get; }
Property Value
| Type | Description |
|---|---|
| TCell | The source. |
Target
Target of the edge.
Declaration
public TCell Target { get; }
Property Value
| Type | Description |
|---|---|
| TCell | The target. |
Methods
| Edit this page View SourceEquals(object)
...
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
| Edit this page View SourceGetHashCode()
...
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
object.GetHashCode()