Create a bounding box
Graphical object where the bounding box will be attached
Parent bounding box of an object in a higher hierarchy position
Defines the bounding box to be symbol thus not calculating its boundaries by itself. NOTE: Borders need to be set!
Get the center of a bounding box
Calculate the the absolute position by adding up all relative positions of all parents (including the own rel. pos.)
calculates the absolute positions of all children of this boundingBox
This method calculates the Absolute Positions recursively from the root element down to the leaf elements
This method calculates the Absolute Positions recursively
This method calculates the BoundingBoxes
This method calculates the margin border along the given direction so that no collision takes place along this direction
This method calculates the border along the given direction so that no collision takes place along this direction
This method detects a collision (without margins)
This method computes the first non-overlapping position in the placementPsi Element for the current (this) positionAndShapeInfo
This method computes the first non-overlapping position in the placementPsi Element for the current (this) positionAndShapeInfo
This method checks if the given Psi's Margins lie inside the current Psi's Margins.
This method checks if the given Psi's Margins lie inside the current Psi's Margins
This method detects a collision (margin-wide)
Generated using TypeDoc
A bounding box delimits an area on the 2D plane.
Graphical object where the bounding box will be attached
Parent bounding box of an object in a higher hierarchy position
Create a child to parent relationship too. Will be true by default