Package | Description |
---|---|
de.mcp.cutcad.application.tools.objectManipulation | |
de.mcp.cutcad.model | |
de.mcp.cutcad.model.primitives | |
de.mcp.cutcad.model.shapes |
Modifier and Type | Field and Description |
---|---|
(package private) GShape |
CopyTool.master |
Modifier and Type | Method and Description |
---|---|
private void |
Connection.alignEdges(GShape slave,
Edge masterEdge,
Edge slaveEdge) |
private void |
Connection.alignShapes(GShape master,
GShape slave,
Edge masterEdge,
Edge slaveEdge) |
private float |
Connection.calculateAngleBetweenNormals(GShape master,
GShape slave) |
Modifier and Type | Field and Description |
---|---|
private GShape |
Edge.gShape |
private GShape |
Cutout.master |
private GShape |
Cutout.slave |
Modifier and Type | Method and Description |
---|---|
GShape |
GShape.copy(Shape shape)
Form copy for printing - using the outline vertices as new shape form
(keeps the outline without actually having the connections)
|
abstract GShape |
Shape.getGShape() |
GShape |
Edge.getGShape() |
Modifier and Type | Method and Description |
---|---|
void |
GShape.addCutout(GShape cutout) |
private float |
GShape.calculateAngleBetweenNormals(GShape master,
GShape slave) |
Cutout |
Cutout.copyFor(GShape newMaster)
Makes a copy of a cut-out (for printing)
|
Vector2D |
Cutout.findCenter(GShape shape)
find the (mass)center of a shape
|
boolean |
GShape.overlapsWith(GShape s)
checks, if this form overlaps with another form
|
Constructor and Description |
---|
Cutout(GShape master,
GShape slave)
Creates a new Cut-out object, where both shapes are stored and a
new position and angle is created for the positioning of the
cut-out form on the master shape.
|
Edge(GShape gShape,
Vector3D p3D1,
Vector3D p3D2,
Vector2D v1,
Vector2D v2)
Create a edge - the outline (Arraylist of Vector2D) is automatically
build (at the beginning just the start- and end-point in 2D)
|
Modifier and Type | Field and Description |
---|---|
private GShape |
Trapezium.basic |
private GShape |
SymmetricPolygon.basic |
private GShape |
Rectangle.basic |
private GShape |
CopyShape.basic |
private GShape |
PolygonShape.shape |
Modifier and Type | Method and Description |
---|---|
GShape |
Trapezium.getGShape()
Get the corresponding GShape
|
GShape |
SymmetricPolygon.getGShape()
Get the corresponding GShape
|
GShape |
Rectangle.getGShape()
Get the corresponding GShape
|
GShape |
PolygonShape.getGShape() |
GShape |
CopyShape.getGShape() |
Modifier and Type | Method and Description |
---|---|
void |
Trapezium.setShape(GShape gshape)
Set the corresponding GShape
|
void |
SymmetricPolygon.setShape(GShape shape)
Set the corresponding GShape
|
void |
Rectangle.setShape(GShape shape)
Set the corresponding GShape
|
void |
PolygonShape.setShape(GShape shape) |
void |
CopyShape.setShape(GShape shape)
Set the corresponding GShape
|