Uses of Class
org.eclipse.gef.geometry.planar.Line
Package
Description
This package provides support for converting geometric objects to SWT and for
conversion between SWT and AWT.
This package provides core abstractions to support calculations within
2-dimensional Euclidean space.
This package provides utility classes being used internally for geometric
calculations.
This package provides support for geometric calculations based on shapes.
-
Uses of Line in org.eclipse.gef.geometry.convert.swt
Modifier and TypeMethodDescriptionstatic final int[]
Geometry2SWT.toSWTPointArray
(Line l) Returns an integer array of dimension 4, whose values represent the integer-based coordinates of thisLine
's start and end point. -
Uses of Line in org.eclipse.gef.geometry.euclidean
-
Uses of Line in org.eclipse.gef.geometry.internal.utils
Modifier and TypeMethodDescriptionstatic Line[]
PointListUtils.toSegmentsArray
(Point[] points, boolean close) Modifier and TypeMethodDescriptionstatic Point[]
PointListUtils.toPointsArray
(Line[] segmentsArray, boolean open) -
Uses of Line in org.eclipse.gef.geometry.planar
Modifier and TypeMethodDescriptionprotected Line[]
Region.getAllEdges()
Collects all outline segments of the internalRectangle
s.protected Line[]
Ring.getAllEdges()
RoundedRectangle.getBottom()
Returns the bottom edge of thisRoundedRectangle
.Line.getCopy()
Returns a newLine
, which has the same start and end point coordinates as this one.Line[]
Polyline.getCurves()
RoundedRectangle.getLeft()
Returns the left edge of thisRoundedRectangle
.Line[]
Polygon.getOutlineSegments()
Line[]
Rectangle.getOutlineSegments()
RoundedRectangle.getRight()
Returns the right edge of thisRoundedRectangle
.RoundedRectangle.getTop()
Returns the top edge of thisRoundedRectangle
.Line.getTransformed
(AffineTransform t) Line.setLine
(double x1, double y1, double x2, double y2) Initializes thisLine
with the given start and end point coordinatesInitializes thisLine
with the start and end point coordinates of the given one.Initializes thisLine
with the start and end point coordinates provided by the given pointsLine.setX1
(double x1) Line.setX2
(double x2) Line.setY1
(double y1) Line.setY2
(double y2) Line[]
Polyline.toBezier()
BezierCurve.toLine()
Returns a hard approximation of thisBezierCurve
as aLine
.Line[]
BezierCurve.toLineStrip
(double lineSimilarity) Computes an approximation of thisBezierCurve
by a strip ofLine
s.Line[]
BezierCurve.toLineStrip
(double lineSimilarity, org.eclipse.gef.geometry.planar.BezierCurve.Interval startInterval) Computes an approximation of thisBezierCurve
by a strip ofLine
s.Modifier and TypeMethodDescriptionboolean
boolean
Line.getIntersection
(Line l) Returns the single intersection point between thisLine
and the given one, in case it exists.Point[]
Ellipse.getIntersections
(Line line) boolean
Line.intersects
(Line l) Provides an optimized version of theBezierCurve.intersects(ICurve)
method.boolean
Initializes thisLine
with the start and end point coordinates of the given one.boolean
Tests whether thisLine
and the given one share at least one common point.boolean