Esempio n. 1
0
 public double GetFloorStretchedPow(double factorX, double factorY)
 {
     if (IsByVirtualPoint)
     {
         Point3d          apex          = new Point3d(LengthBottom, MaxBeamHeight - MinBeamHeight + MinFloorThick, 0);
         Point3d          pt2           = new Point3d(0, MaxFloorThick, 0);
         ParabolaEquation equationFloor = ParabolaEquation.CreateEquation(PowOfFloor, apex, pt2);
         return(ParabolaEquation.GetStretchedPow(equationFloor, factorX, factorY));
     }
     else
     {
         Point3d          apexFloor     = new Point3d(LengthFloor, 0, 0);
         Point3d          pt2Floor      = new Point3d(0, MaxFloorThick - MinFloorThick, 0);
         ParabolaEquation equationFloor = ParabolaEquation.CreateEquation(PowOfFloor, apexFloor, pt2Floor);
         return(ParabolaEquation.GetStretchedPow(equationFloor, factorX, factorY));
     }
 }
Esempio n. 2
0
        public double GetBottomStretchedPow(double factorX, double factorY)
        {
            double pow = ParabolaEquation.GetStretchedPow(this.BottomEquation, factorX, factorY);

            return(pow);
        }