Methods
Modifier and Type |
Method and Description |
static void |
createOutlineOfEdge(Edge edge)
Calculates the outline of one (unconnected) edge
Calculates the outline of one (unconnected) edge - which is
basically just the line between the two points of this edge in the
2D view.
|
static void |
createOutlineOfEdge(Edge masterEdge,
Edge slaveEdge)
Calculates the outline of two (connected) edges
Calculates the outline of two (connected) edges - using the
addition of the thicknesses of both shapes times a factor for the
length of a tenon, and then uses the angle between both shapes
with these thicknesses to calculate how much each tenon of both
edges have to be cut in or extruded to be able to assemble them on
on side and have enough extrusion to be able to sandpaper these
tenons for a smooth edge.
|
private static java.util.ArrayList<Vector2D> |
createTenons(Edge edge,
float lengthOfATenon,
float tenonHeight,
float tenonDepth,
int numberOfTenons,
boolean beginWithExtrusion) |
private static float |
getHeight(int thicknessMaster,
int thicknessSlave,
float angle) |
private static float |
safeAngleBetween(Vector3D masterEdgeDirection,
Vector3D slaveEdgeDirection) |