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 internalRectangles.protected Line[]Ring. getAllEdges()LineRoundedRectangle. getBottom()Returns the bottom edge of thisRoundedRectangle.LineLine. getCopy()Returns a newLine, which has the same start and end point coordinates as this one.Line[]Polyline. getCurves()LineRoundedRectangle. getLeft()Returns the left edge of thisRoundedRectangle.Line[]Polygon. getOutlineSegments()Line[]Rectangle. getOutlineSegments()LineRoundedRectangle. getRight()Returns the right edge of thisRoundedRectangle.LineRoundedRectangle. getTop()Returns the top edge of thisRoundedRectangle.LineLine. getTransformed(AffineTransform t)LineLine. setLine(double x1, double y1, double x2, double y2)Initializes thisLinewith the given start and end point coordinatesLineLine. setLine(Line l)Initializes thisLinewith the start and end point coordinates of the given one.LineLine. setLine(Point p1, Point p2)Initializes thisLinewith the start and end point coordinates provided by the given pointsLineLine. setX1(double x1)LineLine. setX2(double x2)LineLine. setY1(double y1)LineLine. setY2(double y2)Line[]Polyline. toBezier()LineBezierCurve. toLine()Returns a hard approximation of thisBezierCurveas aLine.Line[]BezierCurve. toLineStrip(double lineSimilarity)Computes an approximation of thisBezierCurveby a strip ofLines.Line[]BezierCurve. toLineStrip(double lineSimilarity, org.eclipse.gef.geometry.planar.BezierCurve.Interval startInterval)Computes an approximation of thisBezierCurveby a strip ofLines.Methods in org.eclipse.gef.geometry.planar with parameters of type Line Modifier and Type Method Description booleanEllipse. contains(Line l)booleanPolygon. contains(Line line)PointLine. getIntersection(Line l)Returns the single intersection point between thisLineand the given one, in case it exists.Point[]Ellipse. getIntersections(Line line)booleanLine. intersects(Line l)Provides an optimized version of theBezierCurve.intersects(ICurve)method.booleanLine. overlaps(Line l)LineLine. setLine(Line l)Initializes thisLinewith the start and end point coordinates of the given one.booleanLine. touches(Line l)Tests whether thisLineand the given one share at least one common point.booleanRectangle. touches(Line l)Constructors in org.eclipse.gef.geometry.planar with parameters of type Line Constructor Description Polyline(Line[] segmentsArray)
-