Ejemplo n.º 1
0
 public Segment2D(Vector2[] points) : base(points[0], points[1])
 {
     MiddlePoint = Hedra.MidPoint(points[0], points[1]);
 }
Ejemplo n.º 2
0
 public override void Translate(Vector2 direction)
 {
     base.Translate(direction);
     MiddlePoint = Hedra.MidPoint(PointA, PointB);
 }
Ejemplo n.º 3
0
 public Segment2D(Vector2 pointA, Vector2 pointB) : base(pointA, pointB)
 {
     MiddlePoint = Hedra.MidPoint(pointA, pointB);
 }