예제 #1
0
 public WallPolygon(IfWall ifWall)
 {
     IfWall   = ifWall;
     Openings = new List <IfOpening>();
     Regions  = new List <Region>();
     Openings = IfWall.Openings;
     GetRegions();
 }
예제 #2
0
 public WallModel(IfWall ifWall)
 {
     IfWall      = ifWall;
     IfLocation  = new IfLocation(IfWall.IfLocation);
     IfDimension = new IfDimension(IfWall.IfDimension);
     Direction   = IfWall.Direction;
     if (Direction == Direction.Negative)
     {
         Flip(Axis.Other);
         Direction = Direction.Positive;
     }
     MidPoint = Distance3D.DivideDistance(IfWall.IfLocation, IfWall.IfDimension);
     EndPoint = GetEndPoint();
 }