ConjectureChecker
|
Struct to store vertices
ellipse | Drawing of vertex |
center | Center of vertex |
state | State of vertex |
Implementing IEqualityComparer<Vertex>, IEquatable<Vertex> to index HashSet and Dictionary More...
Public Member Functions | |
Vertex (Ellipse ellipse, Point point, VertexState state) | |
override bool | Equals (object obj) |
override int | GetHashCode () |
GetHashCode by rounding the coordinates to avoid numerical errors More... | |
override string | ToString () |
bool | Equals (Vertex other) |
bool | Equals (Vertex x, Vertex y) |
int | GetHashCode (Vertex obj) |
Static Public Member Functions | |
static bool | Compare (Point a, Point b) |
Compare points in both coordinates and consider the same if there both coordinates are the same except for small error 0.0001 More... | |
static bool | operator== (Vertex a, Vertex b) |
static bool | operator!= (Vertex a, Vertex b) |
Public Attributes | |
Ellipse | ellipse |
Point | center |
VertexState | state |
Struct to store vertices
ellipse | Drawing of vertex |
center | Center of vertex |
state | State of vertex |
Implementing IEqualityComparer<Vertex>, IEquatable<Vertex> to index HashSet and Dictionary
|
inline |
|
inlinestatic |
Compare points in both coordinates and consider the same if there both coordinates are the same except for small error 0.0001
a | |
b |
|
inline |
|
inline |
|
inline |
GetHashCode by rounding the coordinates to avoid numerical errors
|
inline |
|
inline |
Point VizualizerWPF.Vertex.center |
Ellipse VizualizerWPF.Vertex.ellipse |
VertexState VizualizerWPF.Vertex.state |