예제 #1
0
 public override void Set(double x, double y)
 {
     if (x != mX || y != mY)
     {
         mX          = x;
         mY          = y;
         mVertexCode = TriangulationPoint.CreateVertexCode(mX, mY, kVertexCodeDefaultPrecision);
     }
 }
예제 #2
0
 public TriangulationPoint(double x, double y, double precision)
     : base(x, y)
 {
     mVertexCode = TriangulationPoint.CreateVertexCode(x, y, precision);
 }