|
Adaptagrams
|
Represents an axis-aligned segment of an orthogonal connector route. More...
#include <planarise.h>

Public Member Functions | |
| EdgeSegment (Node_SP node1, Node_SP node2) | |
| Standard constructor. More... | |
| void | setNewClosingNode (Node_SP u) |
| Substitute a new Node as the closing node of the segment. This is useful during our scan line process. | |
| std::pair< Event *, Event * > | getEvents (void) |
| Generate the two Events, in order, representing the opening and closing of this segment. | |
| void | addSep (SepMatrix &m) const |
| Update a SepMatrix with a constraint requiring this segment to remain aligned and at least its current length. | |
Public Attributes | |
| vpsc::Dim | orientation |
| The orientation of the segment (horizontal or vertical): | |
| double | constCoord |
| The value of the coordinate that does not change: | |
| double | lowerBound |
| The lower bound on the coordinate that does change: | |
| double | upperBound |
| The upper bound on the coordinate that does change: | |
| Node_SP | openingNode |
| The node that sits at the end where the lower bound on the variable coordinate occurs: | |
| Node_SP | closingNode |
| The node that sits at the end where the upper bound on the variable coordinate occurs: | |
Represents an axis-aligned segment of an orthogonal connector route.
| EdgeSegment::EdgeSegment | ( | Node_SP | node1, |
| Node_SP | node2 | ||
| ) |
Standard constructor.
| [in] | node1 | a Node representing one endpoint of the segment |
| [in] | node2 | a Node representing the other endpoint of the segment |
References closingNode, constCoord, vpsc::HORIZONTAL, lowerBound, openingNode, orientation, upperBound, vpsc::VERTICAL, Avoid::Point::x, and Avoid::Point::y.
1.8.14