Package | Description |
---|---|
com.yworks.yfiles.algorithms | |
com.yworks.yfiles.layout.labeling |
Provides algorithms for the automatic placement of node and edge labels, so called generic labeling algorithms.
|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Method and Description |
---|---|
LineSegment |
YPointPath.getLineSegment(int i)
Returns a line segment in the path.
|
LineSegment |
ILineSegmentCursor.lineSegment()
Gets the instance of LineSegment the cursor is currently pointing on.
|
Modifier and Type | Method and Description |
---|---|
static YPoint |
LineSegment.getIntersection(LineSegment s1,
LineSegment s2)
Returns intersection point between the two line segments, if there is one or
null if the two line segments do
not intersect. |
static YPoint |
YOrientedRectangle.intersectionPoint(YOrientedRectangle rect,
LineSegment line,
double eps)
Determines an intersection point of the specified oriented rectangle and the specified line segment.
|
static boolean |
YOrientedRectangle.intersects(YOrientedRectangle rect,
LineSegment line,
double eps)
Determines whether or not the specified oriented rectangle and the specified line segment intersect.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMISLabeling.foundEdgeOverlap(LabelCandidate labelCandidate,
Edge edge,
LineSegment eSegment)
Indicates that an overlap between a
LabelCandidate and an Edge of the input graph has been found. |
Modifier and Type | Method and Description |
---|---|
LineSegment[] |
EdgeInfo.calculateLineSegments()
Calculates an array of
LineSegment s created by the calculated path points . |
Constructor and Description |
---|
AbstractSegmentInfo(Edge edge,
int segmentIndex,
LineSegment segment)
Creates a new instance of
AbstractSegmentInfo using a line segment to describe the edge segment. |
SegmentInfo(Edge edge,
int segmentIndex,
LineSegment segment)
Creates a new instance of
SegmentInfo using a LineSegment to describe the edge segment. |