Beispiel #1
0
 public void QuarterCircleSolid()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 17, true);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("qcs.txt");
 }
Beispiel #2
0
 public void QuarterEllipse()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 18, false);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("qe.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #3
0
 public void FullEllipsoidSolid()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 72, true);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("feds.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #4
0
 public void FullSphereSolid()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 68, true);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("fss.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #5
0
 public void FullCircle()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 65, false);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("fc.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #6
0
 public void SemiEllipsoid()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 40, false);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("sed.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #7
0
 public void SemiSphere()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 36, false);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("ss.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #8
0
 public void SemiCircleSolid()
 {
     pointsToShape = new PointsToShape(40, 25, 10, 33, true);
     data          = pointsToShape.GlobalCurveSet;
     Assert.Greater(data.Count, 1);
     OutputToFile("sc.txt");
     data          = null;
     pointsToShape = null;
 }
Beispiel #9
0
 public bool GetPointData()
 {
     if (masterBlueprint != null && masterBlueprint.HasUsableData)
     {
         //    call class to handle point and blueprint output
         using (PointsToShape pointsToShape = new PointsToShape(masterBlueprint.XAxis, masterBlueprint.YAxis, masterBlueprint.ZAxis, masterBlueprint.FinalShape, masterBlueprint.Solid))
         {
             blueprintData = pointsToShape.GlobalCurveSet;
         }
         if (blueprintData.Count > 1)
         {
             return(true);
         }
     }
     return(false);
 }