Uses of Class
org.eclipse.gef.geometry.planar.Line
-
Packages that use Line Package Description org.eclipse.gef.geometry.convert.swt This package provides support for converting geometric objects to SWT and for conversion between SWT and AWT.org.eclipse.gef.geometry.euclidean This package provides core abstractions to support calculations within 2-dimensional Euclidean space.org.eclipse.gef.geometry.internal.utils This package provides utility classes being used internally for geometric calculations.org.eclipse.gef.geometry.planar This package provides support for geometric calculations based on shapes. -
-
Uses of Line in org.eclipse.gef.geometry.convert.swt
Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Line Modifier and Type Method Description static 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
Constructors in org.eclipse.gef.geometry.euclidean with parameters of type Line Constructor Description Straight(Line line)
-
Uses of Line in org.eclipse.gef.geometry.internal.utils
Methods in org.eclipse.gef.geometry.internal.utils that return Line Modifier and Type Method Description static Line[]
PointListUtils. toSegmentsArray(Point[] points, boolean close)
Methods in org.eclipse.gef.geometry.internal.utils with parameters of type Line Modifier and Type Method Description static Point[]
PointListUtils. toPointsArray(Line[] segmentsArray, boolean open)
-
Uses of Line in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return Line Modifier and Type Method Description protected Line[]
Region. getAllEdges()
Collects all outline segments of the internalRectangle
s.protected Line[]
Ring. getAllEdges()
Line
RoundedRectangle. getBottom()
Returns the bottom edge of thisRoundedRectangle
.Line
Line. getCopy()
Returns a newLine
, which has the same start and end point coordinates as this one.Line[]
Polyline. getCurves()
Line
RoundedRectangle. getLeft()
Returns the left edge of thisRoundedRectangle
.Line[]
Polygon. getOutlineSegments()
Line[]
Rectangle. getOutlineSegments()
Line
RoundedRectangle. getRight()
Returns the right edge of thisRoundedRectangle
.Line
RoundedRectangle. getTop()
Returns the top edge of thisRoundedRectangle
.Line
Line. getTransformed(AffineTransform t)
Line
Line. setLine(double x1, double y1, double x2, double y2)
Initializes thisLine
with the given start and end point coordinatesLine
Line. setLine(Line l)
Initializes thisLine
with the start and end point coordinates of the given one.Line
Line. setLine(Point p1, Point p2)
Initializes thisLine
with the start and end point coordinates provided by the given pointsLine
Line. setX1(double x1)
Line
Line. setX2(double x2)
Line
Line. setY1(double y1)
Line
Line. setY2(double y2)
Line[]
Polyline. toBezier()
Line
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.Methods in org.eclipse.gef.geometry.planar with parameters of type Line Modifier and Type Method Description boolean
Ellipse. contains(Line l)
boolean
Polygon. contains(Line line)
Point
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
Line. overlaps(Line l)
Line
Line. setLine(Line l)
Initializes thisLine
with the start and end point coordinates of the given one.boolean
Line. touches(Line l)
Tests whether thisLine
and the given one share at least one common point.boolean
Rectangle. touches(Line l)
Constructors in org.eclipse.gef.geometry.planar with parameters of type Line Constructor Description Polyline(Line[] segmentsArray)
-