예제 #1
0
        public ICuboidEntity CuboidByLengths(ICoordinateSystemEntity cs, double length, double width, double height)
        {
            DSGeometryApplication.Check();
            ICuboidEntity cub = new CuboidEntity(new double[] { cs.Origin.X, cs.Origin.Y, cs.Origin.Z }, length, width, height);

            return(cub);
        }
예제 #2
0
 public ICuboidEntity CuboidByLengths(ICoordinateSystemEntity cs, double length, double width, double height)
 {
     DSGeometryApplication.Check();
     ICuboidEntity cub = new CuboidEntity();
     cub.UpdateCuboid(new double[] { cs.Origin.X, cs.Origin.Y, cs.Origin.Z }, length, width, height);
     return cub;
 }