public static Vertex Create(float x, float y) { if (float.IsNaN(x) || float.IsNaN(y)) { return VertexAtInfinity; } var v = new Vertex(x, y); return v; }
public void SetVertex(LR.Side leftRight, Vertex v) { if (leftRight == LR.Side.Left) { LeftVertex = v; } else { RightVertex = v; } if (Vertex(LR.Other(leftRight)) != null) { OutEnd(); } }