Uses of Class
de.xima.fc.common.geometry.EPrimaryIntercardinalDirection2D
-
Packages that use EPrimaryIntercardinalDirection2D Package Description de.xima.fc.common.geometry de.xima.fc.common.workflow.bpmn de.xima.fc.interfaces.workflow.bpmn -
-
Uses of EPrimaryIntercardinalDirection2D in de.xima.fc.common.geometry
Methods in de.xima.fc.common.geometry that return EPrimaryIntercardinalDirection2D Modifier and Type Method Description static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. between(ECardinalDirection2D first, ECardinalDirection2D second)
Calculates the primary intercardinal direction that is between the two specified cardinal directions.EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. flip()
Rotates this direction by 180 degrees.static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. intercardinalDirection2DBetween(ECardinalDirection2D first, ECardinalDirection2D second)
Calculates the primary intercardinal direction that is between the two specified cardinal directions.static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. ofAngleDegrees(double angleDegrees)
Calculates the primary intercardinal direction that is closest to the specified angle in degrees, defined as follows in terms of the angle when normalized to the range[0, 360)
: [0, 90) degrees:NORTH_EAST
[90, 180) degrees:NORTH_WEST
[180, 270) degrees:SOUTH_WEST
[270, 360) degrees:SOUTH_EAST
static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. ofAngleDegrees(long angleDegrees)
Calculates the primary intercardinal direction that is closest to the specified angle in degrees, defined as follows in terms of the angle when normalized to the range[0, 360)
: [0, 90) degrees:NORTH_EAST
[90, 180) degrees:NORTH_WEST
[180, 270) degrees:SOUTH_WEST
[270, 360) degrees:SOUTH_EAST
static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. ofAngleRadians(double angleRadians)
Calculates the primary intercardinal direction that is closest to the specified angle in radians, defined as follows in terms of the angle when normalized to the range[0, 2π)
: [0, π/2) radians:NORTH_EAST
[π/2, π) radians:NORTH_WEST
[π, 3π/2) radians:SOUTH_WEST
[3π/2, 2π) radians:SOUTH_EAST
EPrimaryIntercardinalDirection2D
ECardinalDirection2D. rotate45Left()
Rotates this direction 45 degrees to the left.EPrimaryIntercardinalDirection2D
ECardinalDirection2D. rotate45Right()
Rotates this direction 45 degrees to the right.EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. rotate90Left()
Rotates this direction 90 degrees to the left.EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. rotate90Right()
Rotates this direction 90 degrees to the right.static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. valueOf(String name)
Returns the enum constant of this type with the specified name.static EPrimaryIntercardinalDirection2D[]
EPrimaryIntercardinalDirection2D. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.xima.fc.common.geometry that return types with arguments of type EPrimaryIntercardinalDirection2D Modifier and Type Method Description static OneOfN.OneOf3<ECardinalDirection2D,EPrimaryIntercardinalDirection2D,Unit>
Geometry2D. classifyRectangleCardinalPosition(Point2DDouble pos1, Rectangular2DDouble size1, Point2DDouble pos2, Rectangular2DDouble size2)
Classifies the relative position of two non-overlapping rectangles r1 and r2 in a 2D space in regard to their cardinal relationship. -
Uses of EPrimaryIntercardinalDirection2D in de.xima.fc.common.workflow.bpmn
Methods in de.xima.fc.common.workflow.bpmn with parameters of type EPrimaryIntercardinalDirection2D Modifier and Type Method Description static String
NamedBpmnElementPoints. directedNamedPoint(EPrimaryIntercardinalDirection2D direction)
Gets the name of the point that lies at the shape's boundary in the given direction. -
Uses of EPrimaryIntercardinalDirection2D in de.xima.fc.interfaces.workflow.bpmn
Methods in de.xima.fc.interfaces.workflow.bpmn with parameters of type EPrimaryIntercardinalDirection2D Modifier and Type Method Description Self
IWorkflowBpmnLayoutAnnotatedElementBuilder. annotationDirection(EPrimaryIntercardinalDirection2D direction)
Sets the direction where the text annotation should be placed.Self
IWorkflowBpmnLayoutPrimaryIntercardinalDirectionOptionsBuilder. direction(EPrimaryIntercardinalDirection2D direction)
Sets theEPrimaryIntercardinalDirection2D
for aligning the items.Self
IWorkflowBpmnLayoutNamedOutsideBuilder. nameDirection(EPrimaryIntercardinalDirection2D direction)
Sets the direction where the name should be placed.AlignmentItemPorts
IWorkflowBpmnAlignAroundPortSelector. selectPort(List<? extends Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>> positionedItems, EPrimaryIntercardinalDirection2D direction)
Selects the in and out ports to use for the builtIWorkflowBpmnAlignmentItem
representing the two aligned items, when the second item is aligned in a primary intercardinal direction relative to the first item.Method parameters in de.xima.fc.interfaces.workflow.bpmn with type arguments of type EPrimaryIntercardinalDirection2D Modifier and Type Method Description IWorkflowBpmnLayoutAlignAroundBuilder
IWorkflowBpmnLayoutAlignAroundBuilder. direction(OneOfN.Either<ECardinalDirection2D,EPrimaryIntercardinalDirection2D> direction)
Sets a hint for the direction where the second item should be placed.
-