# Uses of Class
org.eclipse.draw2d.geometry.Straight

Packages that use Straight
Package
Description
org.eclipse.draw2d.geometry
Types representing or manipulating geometric values, such as Points, Dimensions, etc.

## Uses of Straight in org.eclipse.draw2d.geometry

Methods in org.eclipse.draw2d.geometry with parameters of type Straight
Modifier and Type
Method
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.