public class ModelSolidFactory extends Object implements SolidFactory
| Constructor and Description |
|---|
ModelSolidFactory() |
| Modifier and Type | Method and Description |
|---|---|
Solid |
cube(double sizeX,
double sizeY,
double sizeZ,
boolean centered) |
Solid |
cylinder(double bottomRadius,
double topRadius,
double height,
int slices,
boolean centered) |
Solid |
extrude(Construction shape,
double height,
double scale) |
Solid |
hull(Construction solid) |
Solid |
sphere(double radius,
int slices,
int stacks) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcubepublic Solid cube(double sizeX, double sizeY, double sizeZ, boolean centered)
cube in interface SolidFactorypublic Solid sphere(double radius, int slices, int stacks)
sphere in interface SolidFactorypublic Solid cylinder(double bottomRadius, double topRadius, double height, int slices, boolean centered)
cylinder in interface SolidFactorypublic Solid extrude(Construction shape, double height, double scale)
extrude in interface SolidFactorypublic Solid hull(Construction solid)
hull in interface SolidFactoryCopyright © 2018. All rights reserved.