Package | Description |
---|---|
de.mcp.cutcad.algorithm | |
de.mcp.cutcad.application.tools.objectManipulation | |
de.mcp.cutcad.model |
Modifier and Type | Method and Description |
---|---|
static boolean |
RotateAdjectantShapes.rotateBothShapes(Connection connection,
Edge masterEdge,
Edge slaveEdge)
Rotates two edges with a common point until the other is common,
too
Two edges on different shapes, which have one common point, at
least one of their corresponding shapes can be rotated (only one
connection with another shape) and the rotating axis are also
connected with this common point.
|
private static boolean |
RotateAdjectantShapes.tryToConnectBothEdges(Connection connection,
Edge masterEdge1,
Edge masterEdge2,
float masterAngle,
Edge slaveEdge1,
Edge slaveEdge2,
float slaveAngle) |
private static boolean |
RotateAdjectantShapes.tryToConnectOneEdge(Connection connection,
Edge masterEdge,
Edge slaveEdge,
float angle) |
Modifier and Type | Method and Description |
---|---|
private static java.util.HashMap<Edge,java.lang.String> |
GenerateEngravingIDs.createIDs(java.util.ArrayList<Connection> connections) |
static java.util.HashMap<Edge,java.lang.String> |
GenerateEngravingIDs.getEngravingIDMap(java.util.ArrayList<Connection> connections)
This method generates a HashMap which maps each Edge which is part of a connection to an ID.
|
Modifier and Type | Field and Description |
---|---|
(package private) Connection |
ConnectTool.previewConnection |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<Connection> |
Connection.connections |
Modifier and Type | Method and Description |
---|---|
java.util.List<Connection> |
ObjectContainer.allConnections()
Returns all connections created in the project.
|
static java.util.List<Connection> |
Connection.getConnections() |
Modifier and Type | Method and Description |
---|---|
void |
ObjectContainer.addConnection(Connection connection)
Adds a new connection to the project.
|
void |
ObjectContainer.removeConnection(Connection connection)
Removes a connection from the project.
|
Constructor and Description |
---|
Connection(Edge masterEdge,
Edge slaveEdge,
java.util.List<Connection> connections)
Creates a connection-object, specifying the two edges to be connected.
|
Connection(java.util.List<Connection> connections)
Creates a basic connection-object without specifying the two edges to be connected.
|