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

            SetAmplitude();
        }
Пример #3
0
        public wVector(wPoint WindPoint)
        {
            X = WindPoint.X;
            Y = WindPoint.Y;
            Z = WindPoint.Z;

            SetAmplitude();
        }
Пример #4
0
        public void SubtractVector(wPoint point)
        {
            X -= point.X;
            Y -= point.Y;
            Z -= point.Z;

            SetAmplitude();
        }
Пример #5
0
        public void AddVector(wPoint point)
        {
            X += point.X;
            Y += point.Y;
            Z += point.Z;

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