Uses of Class
org.eclipse.gef.geometry.planar.Point
-
Packages that use Point Package Description org.eclipse.gef.geometry.convert.fx This package contains helper classes to transfer data from JavaFX/Geometry to one another.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.org.eclipse.gef.geometry.projective This package provides core abstractions to support calculations within 2-dimensional projective vector space. -
-
Uses of Point in org.eclipse.gef.geometry.convert.fx
Methods in org.eclipse.gef.geometry.convert.fx that return Point Modifier and Type Method Description static PointFX2Geometry. toPoint(javafx.geometry.Point2D point)Converts the given JavaFXPoint2Dto aPoint.Methods in org.eclipse.gef.geometry.convert.fx with parameters of type Point Modifier and Type Method Description static javafx.geometry.Point2DGeometry2FX. toFXPoint(Point p)Converts the givenPointto a JavaFXPoint2D. -
Uses of Point in org.eclipse.gef.geometry.convert.swt
Methods in org.eclipse.gef.geometry.convert.swt that return Point Modifier and Type Method Description static PointSWT2Geometry. toPoint(Point swtPoint)Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Point Modifier and Type Method Description static PointGeometry2SWT. toSWTPoint(Point p)Creates a new SWTPointfrom this Point. -
Uses of Point in org.eclipse.gef.geometry.euclidean
Methods in org.eclipse.gef.geometry.euclidean that return Point Modifier and Type Method Description PointVector. toPoint()Methods in org.eclipse.gef.geometry.euclidean with parameters of type Point Modifier and Type Method Description static doubleStraight. getSignedDistanceCCW(Point p, Point q, Point r)Constructors in org.eclipse.gef.geometry.euclidean with parameters of type Point Constructor Description Straight(Point point1, Point point2)Vector(Point p)Vector(Point start, Point end) -
Uses of Point in org.eclipse.gef.geometry.internal.utils
Methods in org.eclipse.gef.geometry.internal.utils that return Point Modifier and Type Method Description static Point[]PointListUtils. toPointsArray(double[] coordinates)Converts a given array of x/y coordinate values into an array ofPoints.static Point[]PointListUtils. toPointsArray(Line[] segmentsArray, boolean open)Methods in org.eclipse.gef.geometry.internal.utils with parameters of type Point Modifier and Type Method Description static double[]PointListUtils. toCoordinatesArray(Point[] points)static Line[]PointListUtils. toSegmentsArray(Point[] points, boolean close) -
Uses of Point in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return Point Modifier and Type Method Description PointPoint. clone()Overwritten with public visibility as proposed inCloneable.PointAffineTransform. deltaTransform(Point pt)Transforms the givenPointwith thisAffineTransformwithout applying the translation components of the transformation matrix of thisAffineTransform.PointBezierCurve. get(double t)Computes thePointon thisBezierCurveat parameter value t, which is expected to lie in the parameterBezierCurve.Interval[0;1].PointLine. get(double t)PointRectangle. getBottom()Returns a new Point representing the middle point of the bottom side of this Rectangle.PointRectangle. getBottomLeft()Returns a new Point representing the bottom left point of this Rectangle.PointRectangle. getBottomRight()Returns a new Point representing the bottom right point of this Rectangle.PointCurvedPolygon. getCenter()Returns an approximated centerPointof thisCurvedPolygon.static PointPoint. getCentroid(Point... points)Computes the centroid of the givenPoints.static Point[]Point. getConvexHull(Point... points)Computes the convex hull of the given set ofPoints using the Graham scan algorithm.PointPoint. getCopy()static Point[]Point. getCopy(Point... points)Copies an array of points, by copying each point contained in the array.PointQuadraticCurve. getCtrl()Get the control point.PointCubicCurve. getCtrl1()Returns the first handlePoint.PointCubicCurve. getCtrl2()Returns the second handlePoint.PointPoint. getDifference(Point other)PointLine. getIntersection(Line l)Returns the single intersection point between thisLineand the given one, in case it exists.Point[]Arc. getIntersections(ICurve c)Point[]BezierCurve. getIntersections(BezierCurve other)Returns thePoints of intersection of this and the given otherBezierCurve.Point[]BezierCurve. getIntersections(ICurve curve)Point[]Ellipse. getIntersections(Ellipse e2)Point[]Ellipse. getIntersections(ICurve c)Point[]Ellipse. getIntersections(Line line)Point[]ICurve. getIntersections(ICurve c)Point[]Line. getIntersections(BezierCurve curve)Point[]PolyBezier. getIntersections(ICurve c)Point[]Polyline. getIntersections(ICurve c)PointRectangle. getLeft()Returns a new Point representing the middle point of the left hand side of this Rectangle.PointPoint. getNegated()Creates a Point with negated x and y values.Point[]Region. getOutlineIntersections(ICurve c)PointBezierCurve. getP1()PointICurve. getP1()PointPolyBezier. getP1()PointPolyline. getP1()PointBezierCurve. getP2()PointICurve. getP2()PointPolyBezier. getP2()PointPolyline. getP2()PointBezierCurve. getPoint(int i)Returns the ith controlPointof thisBezierCurve.Point[]BezierCurve. getPoints()Returns the controlPoints of thisBezierCurve.Point[]Line. getPoints()Point[]Path.Segment. getPoints()Returns a copy of thePoints associated with thisPath.Segment.Point[]Rectangle. getPoints()PointArc. getProjection(Point reference)PointBezierCurve. getProjection(Point reference)PointICurve. getProjection(Point reference)PointLine. getProjection(Point p)PointPolyBezier. getProjection(Point reference)PointPolyline. getProjection(Point reference)static Point[]Point. getReverseCopy(Point... points)Returns a copy of the given array of points, where the points are placed in reversed order.PointRectangle. getRight()Returns a new Point which represents the middle point of the right hand side of this Rectangle.PointPoint. getScaled(double factor)Creates a new Point from this Point by scaling by the specified amount.PointPoint. getScaled(double xFactor, double yFactor)Creates a new Point from this Point by scaling by the specified values.PointPoint. getScaled(double factorX, double factorY, Point center)Returns a newPointscaled by the given scale-factors.PointRectangle. getTop()Returns a new Point which represents the middle point of the top side of this Rectangle.PointRectangle. getTopLeft()Returns a new Point which represents the top left hand corner of this Rectangle.PointRectangle. getTopRight()Returns a new Point which represents the top right hand corner of this Rectangle.PointAffineTransform. getTransformed(Point ptSrc)Transforms the givenPointwith thisAffineTransformby multiplying the transformation matrix of thisAffineTransformwith the givenPoint.Point[]AffineTransform. getTransformed(Point[] points)Transforms the given array ofPoints with thisAffineTransformby multiplying the transformation matrix of thisAffineTransformindividually with each of the givenPoints.PointPoint. getTransformed(AffineTransform transformation)Transforms a copy of thisPointusing the givenAffineTransform.PointPoint. getTranslated(double x, double y)Creates a new Point which is translated by the specified x and y valuesPointPoint. getTranslated(Dimension d)Creates a new Point which is translated by the values of the input Dimension.PointPoint. getTranslated(Point p)Creates a new Point which is translated by the values of the provided Point.PointPoint. getTransposed()Creates a new Point with the transposed values of this Point.PointAffineTransform. inverseTransform(Point pt)Inverse transforms the givenPointwith thisAffineTransform.static PointPoint. max(Point p1, Point p2)Creates a new Point representing the MAX of two provided Points.static PointPoint. min(Point p1, Point p2)Creates a new Point representing the MIN of two provided Points.static PointPoint. nearest(Point referencePoint, Point... candidates)Returns (one of) the candidate(s) with minimal distance to the given reference point.PointPoint. negate()Negates the x and y values of this Point.PointPoint. scale(double factor)Scales this Point by the specified amount.PointPoint. scale(double xFactor, double yFactor)Scales this Point by the specified values.PointPoint. scale(double factorX, double factorY, Point center)Scales thisPointby the given scale-factors.PointPoint. setLocation(double x, double y)Sets the location of this Point to the provided x and y locations.PointPoint. setLocation(Point p)Sets the location of this Point to the specified Point.PointPoint. setX(double x)Sets the x value of this Point to the given value.PointPoint. setY(double y)Sets the y value of this Point to the given value;Point[]BezierCurve. toPoints(org.eclipse.gef.geometry.planar.BezierCurve.Interval startInterval)PointPoint. transform(AffineTransform transformation)Transforms thisPointin-place using the givenAffineTransform.PointPoint. translate(double dx, double dy)Shifts this Point by the values supplied along each axes, and returns this for convenience.PointPoint. translate(Dimension d)Shifts this Point by the values of the Dimension along each axis, and returns this for convenience.PointPoint. translate(Point p)Shifts the location of this Point by the location of the input Point along each of the axes, and returns this for convenience.PointPoint. transpose()Transposes this object.Methods in org.eclipse.gef.geometry.planar with parameters of type Point Modifier and Type Method Description booleanArc. contains(Point p)booleanBezierCurve. contains(Point p)booleanCurvedPolygon. contains(Point p)booleanEllipse. contains(Point p)booleanIGeometry. contains(Point p)booleanLine. contains(Point p)booleanPath. contains(Point p)booleanPie. contains(Point p)booleanPolyBezier. contains(Point p)booleanPolygon. contains(Point p)booleanPolyline. contains(Point p)booleanRectangle. contains(Point p)Returns whether the given point is within the boundaries of this Rectangle.booleanRoundedRectangle. contains(Point p)PointAffineTransform. deltaTransform(Point pt)Transforms the givenPointwith thisAffineTransformwithout applying the translation components of the transformation matrix of thisAffineTransform.booleanPolygon. equals(Point[] points)Checks whether thisPolygonand the one that is indirectly given via the given array of points are regarded to be equal.booleanPolyline. equals(Point... points)Checks whether thisPolylineand the one that is indirectly given via the sequence of points are regarded to be equal.static RectanglePoint. getBounds(Point... points)static PointPoint. getCentroid(Point... points)Computes the centroid of the givenPoints.static Point[]Point. getConvexHull(Point... points)Computes the convex hull of the given set ofPoints using the Graham scan algorithm.static Point[]Point. getCopy(Point... points)Copies an array of points, by copying each point contained in the array.PointPoint. getDifference(Point other)doublePoint. getDistance(Point p)Calculates the distance from this Point to the one specified.doubleBezierCurve. getParameterAt(Point p)Returns the parameter value of thisBezierCurvefor the givenPoint.PointArc. getProjection(Point reference)PointBezierCurve. getProjection(Point reference)PointICurve. getProjection(Point reference)PointLine. getProjection(Point p)PointPolyBezier. getProjection(Point reference)PointPolyline. getProjection(Point reference)static Point[]Point. getReverseCopy(Point... points)Returns a copy of the given array of points, where the points are placed in reversed order.PolyBezierArc. getRotatedCCW(Angle angle, Point center)BezierCurveBezierCurve. getRotatedCCW(Angle angle, Point center)CurvedPolygonCurvedPolygon. getRotatedCCW(Angle angle, Point center)PolyBezierEllipse. getRotatedCCW(Angle angle, Point center)TIRotatable. getRotatedCCW(Angle angle, Point center)PathPie. getRotatedCCW(Angle angle, Point center)PolyBezierPolyBezier. getRotatedCCW(Angle angle, Point center)PolygonRectangle. getRotatedCCW(Angle alpha, Point center)RingRegion. getRotatedCCW(Angle angle, Point center)RingRing. getRotatedCCW(Angle angle, Point center)PolyBezierRoundedRectangle. getRotatedCCW(Angle angle, Point center)PolyBezierArc. getRotatedCW(Angle angle, Point center)BezierCurveBezierCurve. getRotatedCW(Angle angle, Point center)CurvedPolygonCurvedPolygon. getRotatedCW(Angle angle, Point center)PolyBezierEllipse. getRotatedCW(Angle angle, Point center)TIRotatable. getRotatedCW(Angle angle, Point center)PathPie. getRotatedCW(Angle angle, Point center)PolyBezierPolyBezier. getRotatedCW(Angle angle, Point center)PolygonRectangle. getRotatedCW(Angle alpha, Point center)RingRegion. getRotatedCW(Angle angle, Point center)RingRing. getRotatedCW(Angle angle, Point center)PolyBezierRoundedRectangle. getRotatedCW(Angle angle, Point center)BezierCurveBezierCurve. getScaled(double fx, double fy, Point center)BezierCurveBezierCurve. getScaled(double factor, Point center)CurvedPolygonCurvedPolygon. getScaled(double fx, double fy, Point center)CurvedPolygonCurvedPolygon. getScaled(double factor, Point center)TIScalable. getScaled(double fx, double fy, Point center)Scales a copy of the calling object by the given factors relative to the given centerPoint.TIScalable. getScaled(double factor, Point center)Scales a copy of the calling object by the given factor relative to the given centerPoint.PointPoint. getScaled(double factorX, double factorY, Point center)Returns a newPointscaled by the given scale-factors.PolyBezierPolyBezier. getScaled(double fx, double fy, Point center)PolyBezierPolyBezier. getScaled(double factor, Point center)RegionRegion. getScaled(double fx, double fy, Point center)RegionRegion. getScaled(double factor, Point center)RingRing. getScaled(double fx, double fy, Point center)RingRing. getScaled(double factor, Point center)PointAffineTransform. getTransformed(Point ptSrc)Transforms the givenPointwith thisAffineTransformby multiplying the transformation matrix of thisAffineTransformwith the givenPoint.Point[]AffineTransform. getTransformed(Point[] points)Transforms the given array ofPoints with thisAffineTransformby multiplying the transformation matrix of thisAffineTransformindividually with each of the givenPoints.BezierCurveBezierCurve. getTranslated(Point d)CurvedPolygonCurvedPolygon. getTranslated(Point d)TITranslatable. getTranslated(Point d)Translates a copy of this object by the givenPoint.PointPoint. getTranslated(Point p)Creates a new Point which is translated by the values of the provided Point.PolyBezierPolyBezier. getTranslated(Point d)RegionRegion. getTranslated(Point d)RingRing. getTranslated(Point d)RectangleRectangle. getUnioned(Point p)Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.static PolyBezierPolyBezier. interpolateCubic(double curveWidthCoefficient, Point... points)static PolyBezierPolyBezier. interpolateCubic(Angle startAngle, double startLength, Angle endAngle, double endLength, double curveWidthCoefficient, Point... wayPoints)static PolyBezierPolyBezier. interpolateCubic(Point... points)PointAffineTransform. inverseTransform(Point pt)Inverse transforms the givenPointwith thisAffineTransform.static PointPoint. max(Point p1, Point p2)Creates a new Point representing the MAX of two provided Points.static PointPoint. min(Point p1, Point p2)Creates a new Point representing the MIN of two provided Points.static PointPoint. nearest(Point referencePoint, Point... candidates)Returns (one of) the candidate(s) with minimal distance to the given reference point.BezierCurveBezierCurve. rotateCCW(Angle angle, Point center)Directly rotates thisBezierCurvecounter-clockwise (CCW) around the givenPointby the givenAngle.CurvedPolygonCurvedPolygon. rotateCCW(Angle angle, Point center)static voidPoint. rotateCCW(Point[] points, Angle angle, double cx, double cy)PolyBezierPolyBezier. rotateCCW(Angle angle, Point center)RingRing. rotateCCW(Angle angle, Point center)BezierCurveBezierCurve. rotateCW(Angle angle, Point center)CurvedPolygonCurvedPolygon. rotateCW(Angle angle, Point center)static voidPoint. rotateCW(Point[] points, Angle angle, double cx, double cy)PolyBezierPolyBezier. rotateCW(Angle angle, Point center)RingRing. rotateCW(Angle angle, Point center)BezierCurveBezierCurve. scale(double fx, double fy, Point center)BezierCurveBezierCurve. scale(double factor, Point center)CurvedPolygonCurvedPolygon. scale(double fx, double fy, Point center)CurvedPolygonCurvedPolygon. scale(double factor, Point center)TIScalable. scale(double fx, double fy, Point center)Scales the calling object by the given factors relative to the given centerPoint.TIScalable. scale(double factor, Point center)Scales the calling object by the given factor relative to the given centerPoint.PointPoint. scale(double factorX, double factorY, Point center)Scales thisPointby the given scale-factors.static voidPoint. scale(Point[] points, double fx, double fy, double cx, double cy)PolyBezierPolyBezier. scale(double fx, double fy, Point center)PolyBezierPolyBezier. scale(double factor, Point center)RegionRegion. scale(double fx, double fy, Point center)RegionRegion. scale(double factor, Point center)RingRing. scale(double fx, double fy, Point center)RingRing. scale(double factor, Point center)QuadraticCurveQuadraticCurve. setCtrl(Point ctrl)Sets the curve's control point.CubicCurveCubicCurve. setCtrl1(Point ctrl1)CubicCurveCubicCurve. setCtrl2(Point ctrl2)CubicCurveCubicCurve. setCurve(Point p1, Point ctrl1, Point ctrl2, Point p2)LineLine. setLine(Point p1, Point p2)Initializes thisLinewith the start and end point coordinates provided by the given pointsPointPoint. setLocation(Point p)Sets the location of this Point to the specified Point.BezierCurveBezierCurve. setP1(Point p1)BezierCurveBezierCurve. setP2(Point p2)BezierCurveBezierCurve. setPoint(int i, Point p)Sets the ith controlPointof thisBezierCurve.BezierCurveBezierCurve. translate(Point d)CurvedPolygonCurvedPolygon. translate(Point d)TITranslatable. translate(Point d)Translates the object by the givenPoint.PointPoint. translate(Point p)Shifts the location of this Point by the location of the input Point along each of the axes, and returns this for convenience.static voidPoint. translate(Point[] points, double dx, double dy)Translates an array ofPoints by translating each individual point by a given x and y offset.PolyBezierPolyBezier. translate(Point d)RegionRegion. translate(Point d)RingRing. translate(Point d)RectangleRectangle. union(Point p)Constructors in org.eclipse.gef.geometry.planar with parameters of type Point Constructor Description BezierCurve(Point... controlPoints)Constructs a newBezierCurvefrom the given controlPoints.CubicCurve(Point... points)Constructs a newCubicCurvefrom the given sequence ofPoints, which is expected to be in the order: startPoint, first and second handlePoints, and endPoint.CubicCurve(Point start, Point ctrl1, Point ctrl2, Point end)Constructs a newCubicCurveobject from the given controlPoints.Line(Point... points)Line(Point p1, Point p2)Point(Point p)Constructs a Point at the same location as the given Point.Polygon(Point... points)Polyline(Point... points)QuadraticCurve(Point... points)Constructs a newQuadraticCurvefrom the given sequence ofPoints formed by start-, control-, and end-point.QuadraticCurve(Point p1, Point pCtrl, Point p2)Constructs a new QuadraticCurve object from the given points.Rectangle(Point location, Dimension size)Constructs a newRectanglewith the given location and size.Rectangle(Point p1, Point p2)Segment(int type, Point... points)Constructs a newPath.Segmentof the given type. -
Uses of Point in org.eclipse.gef.geometry.projective
Methods in org.eclipse.gef.geometry.projective that return Point Modifier and Type Method Description PointVector3D. toPoint()Constructors in org.eclipse.gef.geometry.projective with parameters of type Point Constructor Description Vector3D(Point p)
-