Beispiel #1
0
        public void TestTranslation()
        {
            PointOriente point1 = new PointOriente(10, -10, -5);
            PointOriente point2 = new PointOriente(0, 15, 10);

            PointOriente resultat = new PointOriente(10, 5, 5);


            Assert.AreEqual(point1.translater(point2), resultat);
        }
Beispiel #2
0
 /// <summary>
 /// Modifie en place
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="theta"></param>
 public void translater(double x, double y, double theta)
 {
     origine = origine.translater(x, y, theta);
 }