Uses of Enum
de.xima.fc.common.geometry.EPrimaryIntercardinalDirection2D
Packages that use EPrimaryIntercardinalDirection2D
Package
Description
-
Uses of EPrimaryIntercardinalDirection2D in de.xima.fc.common.geometry
Subclasses with type arguments of type EPrimaryIntercardinalDirection2D in de.xima.fc.common.geometryModifier and TypeClassDescriptionenumEnumeration with the primary intercardinal directions in 2D space, corresponding to the four main intercardinal directions of a compass.Methods in de.xima.fc.common.geometry that return EPrimaryIntercardinalDirection2DModifier and TypeMethodDescriptionEPrimaryIntercardinalDirection2D.between(ECardinalDirection2D first, ECardinalDirection2D second) Calculates the primary intercardinal direction that is between the two specified cardinal directions.EPrimaryIntercardinalDirection2D.flip()Rotates this direction by 180 degrees.EPrimaryIntercardinalDirection2D.intercardinalDirection2DBetween(ECardinalDirection2D first, ECardinalDirection2D second) Calculates the primary intercardinal direction that is between the two specified cardinal directions.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:EPrimaryIntercardinalDirection2D.NORTH_EAST[90, 180) degrees:EPrimaryIntercardinalDirection2D.NORTH_WEST[180, 270) degrees:EPrimaryIntercardinalDirection2D.SOUTH_WEST[270, 360) degrees:EPrimaryIntercardinalDirection2D.SOUTH_EASTEPrimaryIntercardinalDirection2D.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:EPrimaryIntercardinalDirection2D.NORTH_EAST[90, 180) degrees:EPrimaryIntercardinalDirection2D.NORTH_WEST[180, 270) degrees:EPrimaryIntercardinalDirection2D.SOUTH_WEST[270, 360) degrees:EPrimaryIntercardinalDirection2D.SOUTH_EASTEPrimaryIntercardinalDirection2D.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:EPrimaryIntercardinalDirection2D.NORTH_EAST[π/2, π) radians:EPrimaryIntercardinalDirection2D.NORTH_WEST[π, 3π/2) radians:EPrimaryIntercardinalDirection2D.SOUTH_WEST[3π/2, 2π) radians:EPrimaryIntercardinalDirection2D.SOUTH_EASTECardinalDirection2D.rotate45Left()Rotates this direction 45 degrees to the left.ECardinalDirection2D.rotate45Right()Rotates this direction 45 degrees to the right.EPrimaryIntercardinalDirection2D.rotate90Left()Rotates this direction 90 degrees to the left.EPrimaryIntercardinalDirection2D.rotate90Right()Rotates this direction 90 degrees to the right.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 EPrimaryIntercardinalDirection2DModifier and TypeMethodDescriptionGeometry2D.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 EPrimaryIntercardinalDirection2DModifier and TypeMethodDescriptionstatic StringNamedBpmnElementPoints.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 EPrimaryIntercardinalDirection2DModifier and TypeMethodDescriptionIWorkflowBpmnLayoutAnnotatedElementBuilder.annotationDirection(EPrimaryIntercardinalDirection2D direction) Sets the direction where the text annotation should be placed.IWorkflowBpmnLayoutPrimaryIntercardinalDirectionOptionsBuilder.direction(EPrimaryIntercardinalDirection2D direction) Sets theEPrimaryIntercardinalDirection2Dfor aligning the items.IWorkflowBpmnLayoutNamedOutsideBuilder.nameDirection(EPrimaryIntercardinalDirection2D direction) Sets the direction where the name should be placed.IWorkflowBpmnAlignAroundPortSelector.selectPort(List<? extends Positioned<? extends IWorkflowBpmnAlignmentItem<?, ?>, Point2DDouble>> positionedItems, EPrimaryIntercardinalDirection2D direction) Selects the in and out ports to use for the builtIWorkflowBpmnAlignmentItemrepresenting 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 EPrimaryIntercardinalDirection2DModifier and TypeMethodDescriptionIWorkflowBpmnLayoutAlignAroundBuilder.direction(OneOfN.Either<ECardinalDirection2D, EPrimaryIntercardinalDirection2D> direction) Sets a hint for the direction where the second item should be placed.