Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Abstract class: RT.Coordinates.Vertex

Summary

Describes a vertex in a 2D structure.

Remarks

Use this to describe vertices abstractly, while PointD describes a concrete point in 2D space. This class is intended to allow vertices to be reliably compared for equality without the pitfall of floating-point rounding errors throwing off equality comparisons.

Instance methods

bool
Equals(Vertex other)
Refer to the documentation for IEquatable<Vertex>.Equals.
bool
Equals(object obj)
  • Overrides: object.Equals(object)
  • Abstract
Refer to the documentation for object.Equals.
int
  • Overrides: object.GetHashCode()
  • Abstract
Refer to the documentation for object.GetHashCode.
string
SvgPathFragment(Vertex from, Func<Vertex, PointD> getVertexPoint, Func<double, string> r, bool isLast)
  • Virtual
Provides a means for derived classes to override the SVG path generation for a line segment from another vertex from to this one. (see also remarks)
string
  • Overrides: object.ToString()
Refer to the documentation for object.ToString.

Operators

boolCompares two Vertex values for equality.
boolCompares two Vertex values for inequality.

Instance properties

PointD
  • Abstract
Returns the coordinates of this vertex in SVG space.