public class RoundedSquare extends Square
move| Constructor and Description |
|---|
RoundedSquare(Dims2d size,
double radius)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
RoundedSquare(Dims2d size,
Radius radius)
Create a 2D rounded square.
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Area2d> |
getInnerPointCircle(FacetGenerationContext context) |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
Abstract2dModel |
move(Coords2d delta)
Moves this object by the given coordinates.
|
getModelBoundariesgetBoundaries2d, getPointCircle, toScadpublic RoundedSquare(Dims2d size, Radius radius)
size - the size of the object including the roundingradius - the radius of the roundingIllegalValueException - if either dimension is less the double the radius@Deprecated public RoundedSquare(Dims2d size, double radius)
size - the size of the object including the roundingradius - the radius of the roundingIllegalValueException - if either dimension is less the double the radiusprotected SCAD innerToScad(IColorGenerationContext context)
Abstract2dModelinnerToScad in class Squarepublic Abstract2dModel move(Coords2d delta)
Abstract2dModelprotected Collection<Area2d> getInnerPointCircle(FacetGenerationContext context)
getInnerPointCircle in class SquareCopyright © 2014–2020, Printing in 3D. All rights reserved.