[DebuggerDisplay("{DebuggerDisplay()}")] public class Node2 : IComparable<Node2>
Represents a single, two-dimensional coordinate with index specifier.

Constructors

Node2

#
public Node2()

Node2

#
public Node2(double nx, double ny, int n_tag)
nx (double)
ny (double)
n_tag (int)

Node2

#
public Node2(double nx, double ny)
nx (double)
ny (double)

Node2

#
public Node2(Node2 A, Node2 B, double f, int n_tag)
A (Node2)
B (Node2)
f (double)
n_tag (int)

Node2

#
public Node2(Node2 other, double dx, double dy)
other (Node2)
dx (double)
dy (double)

Node2

#
public Node2(Node2 other)
other (Node2)

Fields

tag

#
public int tag

x

#
public double x

y

#
public double y

Properties

DebuggerDisplay

#
public string DebuggerDisplay { get; }

IsValid

#
public bool IsValid { get; }

Methods

CompareTo

#
public int CompareTo(Node2 other, double tolerance)
other (Node2)
tolerance (double)

CompareTo

#
public int CompareTo(Node2 other)
other (Node2)

Distance

#
public double Distance(double nx, double ny)
nx (double)
ny (double)

Distance

#
public double Distance(Node2 other)
other (Node2)

DistanceSquared

#
public double DistanceSquared(double nx, double ny)
nx (double)
ny (double)

DistanceSquared

#
public double DistanceSquared(Node2 other)
other (Node2)

Duplicate

#
public Node2 Duplicate()

IsCoincident

#
public bool IsCoincident(double ox, double oy)
ox (double)
oy (double)

IsCoincident

#
public bool IsCoincident(Node2 other)
other (Node2)

Offset

#
public void Offset(double dx, double dy)
dx (double)
dy (double)

Set

#
public void Set(double nX, double nY)
nX (double)
nY (double)

Set

#
public void Set(Node2 other)
other (Node2)

ToString

#
public override string ToString()
Object.ToString

Operators