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.
|
getModelBoundaries
getBoundaries2d, getPointCircle, toScad
public 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)
Abstract2dModel
innerToScad
in class Square
public Abstract2dModel move(Coords2d delta)
Abstract2dModel
protected Collection<Area2d> getInnerPointCircle(FacetGenerationContext context)
getInnerPointCircle
in class Square
Copyright © 2014–2020, Printing in 3D. All rights reserved.