Example #1
0
 public PointList(Beanstalk host_)
 {
     host     = host_;
     height   = 0;
     lastList = null;
     nextList = null;
 }
Example #2
0
 public PointList(Beanstalk host_, float height_)
 {
     host     = host_;
     height   = height_;
     lastList = null;
     nextList = null;
     type     = ListType.Cap;
 }
Example #3
0
        public static PointList MakeRing(Beanstalk host_, float height, PointList lastRing = null)
        {
            PointList pl = new PointList(host_, height, lastRing);

            pl.MakePoints();
            pl.MakePolygons();
            return(pl);
        }
Example #4
0
        public static PointList MakeCap(Beanstalk host_, float height_)
        {
            PointList pl = new PointList(host_, height_);

            pl.type = ListType.Cap;
            pl.MakePoints();
            pl.MakePolygons();
            return(pl);
        }
Example #5
0
 public PointList(Beanstalk host_, float height_, PointList last)
 {
     host     = host_;
     height   = height_;
     nextList = null;
     if (last != null)
     {
         last.nextList = this;
     }
     lastList = last;
     type     = ListType.Ring;
 }