Example #1
0
 public wPlane(wPoint OriginPoint, wVector XVector, wVector YVector, wVector ZVector)
 {
     Origin = OriginPoint;
     XAxis  = XVector;
     YAxis  = YVector;
     ZAxis  = ZVector;
 }
Example #2
0
        public wVector(wPoint StartPoint, wPoint EndPoint)
        {
            X = EndPoint.X - StartPoint.X;
            Y = EndPoint.Y - StartPoint.Y;
            Z = EndPoint.Z - StartPoint.Z;

            SetAmplitude();
        }
Example #3
0
        public wVector(wPoint WindPoint)
        {
            X = WindPoint.X;
            Y = WindPoint.Y;
            Z = WindPoint.Z;

            SetAmplitude();
        }
Example #4
0
        public void SubtractVector(wPoint point)
        {
            X -= point.X;
            Y -= point.Y;
            Z -= point.Z;

            SetAmplitude();
        }
Example #5
0
        public void AddVector(wPoint point)
        {
            X += point.X;
            Y += point.Y;
            Z += point.Z;

            SetAmplitude();
        }
Example #6
0
 public void SetOrigin(wPoint OriginPoint)
 {
     Origin = OriginPoint;
 }
Example #7
0
 public wPlane(wPoint OriginPoint, wPoint XLocation, wPoint YLocation)
 {
     Origin = OriginPoint;
     XAxis  = new wVector(OriginPoint, XLocation);
     YAxis  = new wVector(OriginPoint, YLocation);
 }