public class Rotate extends Complex3dModel
Abstract3dModel
replace it most of the time.Constructor and Description |
---|
Rotate(Abstract3dModel model,
Angles3d angles)
Creates a rotation operation.
|
Modifier and Type | Method and Description |
---|---|
protected List<Abstract3dModel> |
getChildrenModels() |
protected Boundaries3d |
getModelBoundaries() |
static String |
getRotate(Angles3d angles)
This method is used internally by the
Abstract3dModel - do not use it! |
protected Abstract3dModel |
innerCloneModel() |
protected Abstract3dModel |
innerSubModel(IScadGenerationContext context) |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
protected CSG |
toInnerCSG(FacetGenerationContext context) |
isPrimitive
addModel, addModelTo, align, align, align, align, align, annotate, background, cloneModel, debug, findAnnotatedModel, getBoundaries, getTag, isBackground, isDebug, isMoved, isRotated, move, moves, moves, moves, moves, rotate, rotates, rotates, round, subModel, subtractModel, toCSG, toCSG, toScad, withTag
public Rotate(Abstract3dModel model, Angles3d angles) throws IllegalValueException
model
- the model to be rotatedangles
- the angles used by the rotation operationIllegalValueException
- if either of the two parameters is nullpublic static String getRotate(Angles3d angles)
Abstract3dModel
- do not use it!angles
- the angles used by the rotate operationprotected SCAD innerToScad(IColorGenerationContext context)
Abstract3dModel
innerToScad
in class Abstract3dModel
protected Boundaries3d getModelBoundaries()
getModelBoundaries
in class Abstract3dModel
protected Abstract3dModel innerCloneModel()
innerCloneModel
in class Abstract3dModel
protected CSG toInnerCSG(FacetGenerationContext context)
toInnerCSG
in class Abstract3dModel
protected Abstract3dModel innerSubModel(IScadGenerationContext context)
innerSubModel
in class Abstract3dModel
protected List<Abstract3dModel> getChildrenModels()
getChildrenModels
in class Abstract3dModel
Copyright © 2014–2020, Printing in 3D. All rights reserved.