public class PolyMailTile
extends java.lang.Object
Constructor and Description |
---|
PolyMailTile() |
Modifier and Type | Method and Description |
---|---|
double |
getApothem() |
double |
getConeLength() |
double |
getHingeHoleScale() |
double |
getJointRadius() |
int |
getNumEdges() |
double |
getPinLength() |
double |
getPinThickness() |
double |
getRadius() |
double |
getSideLength() |
double |
getThickness() |
boolean |
isCombined() |
boolean |
isFemale() |
boolean |
isMale() |
static void |
main(java.lang.String[] args) |
PolyMailTile |
setCombined() |
PolyMailTile |
setConeLength(double coneLength) |
PolyMailTile |
setFemale() |
PolyMailTile |
setHingeHoleScale(double hingeHoleScale) |
PolyMailTile |
setJointRadius(double jointRadius) |
PolyMailTile |
setMale() |
PolyMailTile |
setNumEdges(int numEdges) |
PolyMailTile |
setPinLength(double pinLength) |
PolyMailTile |
setPinThickness(double pinThickness) |
PolyMailTile |
setRadius(double radius) |
PolyMailTile |
setThickness(double thickness) |
CSG |
toCSG() |
public CSG toCSG()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public boolean isMale()
public boolean isFemale()
public boolean isCombined()
public PolyMailTile setMale()
public PolyMailTile setFemale()
public PolyMailTile setCombined()
public double getRadius()
public PolyMailTile setRadius(double radius)
radius
- the radius to setpublic double getThickness()
public PolyMailTile setThickness(double thickness)
thickness
- the thickness to setpublic double getJointRadius()
public PolyMailTile setJointRadius(double jointRadius)
jointRadius
- the jointRadius to setpublic double getConeLength()
public PolyMailTile setConeLength(double coneLength)
coneLength
- the coneLength to setpublic double getHingeHoleScale()
public PolyMailTile setHingeHoleScale(double hingeHoleScale)
hingeHoleScale
- the hingeHoleScale to setpublic double getPinLength()
public PolyMailTile setPinLength(double pinLength)
pinLength
- the pinLength to setpublic double getPinThickness()
public PolyMailTile setPinThickness(double pinThickness)
pinThickness
- the pinThickness to setpublic PolyMailTile setNumEdges(int numEdges)
public int getNumEdges()
public double getSideLength()
public double getApothem()