Exemplo n.º 1
0
        public void Raw_does_not_change_points()
        {
            PointD orig = new PointD( 123.456, 789.012 );
            PointD proj = new Raw().ToProjection( orig );
            Assert.That(orig.X, Is.EqualTo(proj.X));
            Assert.That( orig.Y, Is.EqualTo( proj.Y) );

            orig = new Raw().FromProjection( proj );
            Assert.That( proj.X, Is.EqualTo( orig.X ) );
            Assert.That( proj.Y, Is.EqualTo( orig.Y ) );
        }
Exemplo n.º 2
0
 public PointD ToProjection( PointD latLong )
 {
     return latLong;
 }
Exemplo n.º 3
0
 public PointD FromProjection( PointD projPoint )
 {
     return projPoint;
 }