public abstract class Composition extends ModelConstruction
| Constructor and Description |
|---|
Composition() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Construction element) |
List<ModelConstruction> |
getElements() |
boolean |
isShape() |
boolean |
isSolid() |
difference, getPolygons, getTransform, intersection, print, print, transform, union, visitpublic void add(Construction element)
public boolean isSolid()
isSolid in interface ConstructionisSolid in interface ShapeisSolid in interface SolidisSolid in class ModelConstructionpublic boolean isShape()
isShape in interface ConstructionisShape in interface ShapeisShape in interface SolidisShape in class ModelConstructionpublic List<ModelConstruction> getElements()
Copyright © 2018. All rights reserved.