public void Azimuth_setFromXY(Double x, Double y, Double expectedDegrees)
        {
            Azimuth anAzimuth = new Azimuth();
             anAzimuth.setFromXY(x, y);
             Double actualDegrees = anAzimuth.getAsDegreesDouble();

             Assert.AreEqual(expected: expectedDegrees, actual: actualDegrees, delta: delta);
        }
Пример #2
0
        public Azimuth givenXYgetSlopeAzimuth(ptsDTMpoint aPoint)
        {
            Azimuth slopeAz = new Azimuth();
             slopeAz.setFromXY(this.normalVec.y, this.normalVec.x);

             return slopeAz;
        }