Package | Description |
---|---|
org.eclipse.draw2d.geometry |
Types representing or manipulating geometric values, such as Points, Dimensions, etc.
|
Modifier and Type | Method and Description |
---|---|
double |
Straight.getAngle(Straight other)
Returns the (smallest) angle between this Straight and the provided one.
|
Vector |
Straight.getIntersection(Straight other)
Computes the intersection point of this Straight and the provided one, if
it exists.
|
boolean |
Straight.intersects(Straight other)
Checks whether this Straight and the provided one have an intersection
point.
|
boolean |
Straight.intersectsWithinSegment(Vector segmentStart,
Vector segmentEnd,
Straight other)
Checks whether this Straight and the provided one have an intersection
point, which is inside the specified segment between segmentStart and
segmentEnd.
|
boolean |
Straight.isParallelTo(Straight other)
Checks whether this Straight and the provided one are parallel to each
other.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.