Beispiel #1
0
 public Ray2D(Point2D source, Direction2D direction)
 {
     this.source    = source;
     this.direction = direction;
 }
Beispiel #2
0
 public Vector2D(Direction2D direction, double magnitude) :
     this(direction.Vector.Unit * magnitude)
 {
 }
Beispiel #3
0
 public Direction2D Transform(Direction2D direction)
 {
 }
Beispiel #4
0
        public double Dot(Direction2D rhs)
        {
            double dotProduct = this.deltaX * rhs.DeltaX + this.deltaY * rhs.DeltaY;

            return(dotProduct);
        }