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); }
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; }