Exemplo n.º 1
0
 public void GetLast2(out Vertex2d beforeLast, out Vertex2d last)
 {
     beforeLast = _vertextDistanceList[_latestRange.beginAt + _latestRange.len - 2];
     last       = _vertextDistanceList[_latestRange.beginAt + _latestRange.len - 1];
 }
Exemplo n.º 2
0
 public double CalLen(Vertex2d another)
 {
     return(AggMath.calc_distance(x, y, another.x, another.y));
 }
Exemplo n.º 3
0
 public void GetFirst2(out Vertex2d first, out Vertex2d second)
 {
     first  = _vertextDistanceList[_latestRange.beginAt];
     second = _vertextDistanceList[_latestRange.beginAt + 1];
 }