bottomRadius, length, topRadius| Constructor and Description |
|---|
Prism(double length,
double r1,
double r2,
int numberOfSides)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Prism(double length,
double r,
int numberOfSides)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Prism(double length,
Radius r,
int numberOfSides)
Creates a prism with a given length, radius and the number of sides.
|
Prism(double length,
Radius r1,
Radius r2,
int numberOfSides)
Creates a prism, which base and top have different radius.
|
| Modifier and Type | Method and Description |
|---|---|
protected Abstract3dModel |
innerCloneModel() |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
getModelBoundaries, toInnerCSGgetChildrenModels, innerSubModel, isPrimitiveaddModel, 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, withTagpublic Prism(double length,
Radius r,
int numberOfSides)
throws IllegalValueException
length - the length of the prismr - the radius of the prismnumberOfSides - the side number of the prismIllegalValueException - if any of its parameters is negativepublic Prism(double length,
Radius r1,
Radius r2,
int numberOfSides)
throws IllegalValueException
Prism(double, double, int).length - the length of the prismr1 - the bottom radius of the prismr2 - the top radius of the prismnumberOfSides - the side number of the prismIllegalValueException - if any of its parameters is negative@Deprecated public Prism(double length, double r, int numberOfSides) throws IllegalValueException
length - the length of the prismr - the radius of the prismnumberOfSides - the side number of the prismIllegalValueException - if any of its parameters is negative@Deprecated public Prism(double length, double r1, double r2, int numberOfSides) throws IllegalValueException
Prism(double, double, int).length - the length of the prismr1 - the bottom radius of the prismr2 - the top radius of the prismnumberOfSides - the side number of the prismIllegalValueException - if any of its parameters is negativeprotected SCAD innerToScad(IColorGenerationContext context)
Abstract3dModelinnerToScad in class Cylinderprotected Abstract3dModel innerCloneModel()
innerCloneModel in class CylinderCopyright © 2014–2020, Printing in 3D. All rights reserved.