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 Point
FX2Geometry. toPoint(javafx.geometry.Point2D point)
Converts the given JavaFXPoint2D
to aPoint
.Methods in org.eclipse.gef.geometry.convert.fx with parameters of type Point Modifier and Type Method Description static javafx.geometry.Point2D
Geometry2FX. toFXPoint(Point p)
Converts the givenPoint
to 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 Point
SWT2Geometry. toPoint(Point swtPoint)
Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Point Modifier and Type Method Description static Point
Geometry2SWT. toSWTPoint(Point p)
Creates a new SWTPoint
from 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 Point
Vector. toPoint()
Methods in org.eclipse.gef.geometry.euclidean with parameters of type Point Modifier and Type Method Description static double
Straight. 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 ofPoint
s.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 Point
Point. clone()
Overwritten with public visibility as proposed inCloneable
.Point
AffineTransform. deltaTransform(Point pt)
Transforms the givenPoint
with thisAffineTransform
without applying the translation components of the transformation matrix of thisAffineTransform
.Point
BezierCurve. get(double t)
Computes thePoint
on thisBezierCurve
at parameter value t, which is expected to lie in the parameterBezierCurve.Interval
[0;1]
.Point
Line. get(double t)
Point
Rectangle. getBottom()
Returns a new Point representing the middle point of the bottom side of this Rectangle.Point
Rectangle. getBottomLeft()
Returns a new Point representing the bottom left point of this Rectangle.Point
Rectangle. getBottomRight()
Returns a new Point representing the bottom right point of this Rectangle.Point
CurvedPolygon. getCenter()
Returns an approximated centerPoint
of thisCurvedPolygon
.static Point
Point. getCentroid(Point... points)
Computes the centroid of the givenPoint
s.static Point[]
Point. getConvexHull(Point... points)
Computes the convex hull of the given set ofPoint
s using the Graham scan algorithm.Point
Point. getCopy()
static Point[]
Point. getCopy(Point... points)
Copies an array of points, by copying each point contained in the array.Point
QuadraticCurve. getCtrl()
Get the control point.Point
CubicCurve. getCtrl1()
Returns the first handlePoint
.Point
CubicCurve. getCtrl2()
Returns the second handlePoint
.Point
Point. getDifference(Point other)
Point
Line. getIntersection(Line l)
Returns the single intersection point between thisLine
and the given one, in case it exists.Point[]
Arc. getIntersections(ICurve c)
Point[]
BezierCurve. getIntersections(BezierCurve other)
Returns thePoint
s 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)
Point
Rectangle. getLeft()
Returns a new Point representing the middle point of the left hand side of this Rectangle.Point
Point. getNegated()
Creates a Point with negated x and y values.Point[]
Region. getOutlineIntersections(ICurve c)
Point
BezierCurve. getP1()
Point
ICurve. getP1()
Point
PolyBezier. getP1()
Point
Polyline. getP1()
Point
BezierCurve. getP2()
Point
ICurve. getP2()
Point
PolyBezier. getP2()
Point
Polyline. getP2()
Point
BezierCurve. getPoint(int i)
Returns the ith controlPoint
of thisBezierCurve
.Point[]
BezierCurve. getPoints()
Returns the controlPoint
s of thisBezierCurve
.Point[]
Line. getPoints()
Point[]
Path.Segment. getPoints()
Returns a copy of thePoint
s associated with thisPath.Segment
.Point[]
Rectangle. getPoints()
Point
Arc. getProjection(Point reference)
Point
BezierCurve. getProjection(Point reference)
Point
ICurve. getProjection(Point reference)
Point
Line. getProjection(Point p)
Point
PolyBezier. getProjection(Point reference)
Point
Polyline. 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.Point
Rectangle. getRight()
Returns a new Point which represents the middle point of the right hand side of this Rectangle.Point
Point. getScaled(double factor)
Creates a new Point from this Point by scaling by the specified amount.Point
Point. getScaled(double xFactor, double yFactor)
Creates a new Point from this Point by scaling by the specified values.Point
Point. getScaled(double factorX, double factorY, Point center)
Returns a newPoint
scaled by the given scale-factors.Point
Rectangle. getTop()
Returns a new Point which represents the middle point of the top side of this Rectangle.Point
Rectangle. getTopLeft()
Returns a new Point which represents the top left hand corner of this Rectangle.Point
Rectangle. getTopRight()
Returns a new Point which represents the top right hand corner of this Rectangle.Point
AffineTransform. getTransformed(Point ptSrc)
Transforms the givenPoint
with thisAffineTransform
by multiplying the transformation matrix of thisAffineTransform
with the givenPoint
.Point[]
AffineTransform. getTransformed(Point[] points)
Transforms the given array ofPoint
s with thisAffineTransform
by multiplying the transformation matrix of thisAffineTransform
individually with each of the givenPoint
s.Point
Point. getTransformed(AffineTransform transformation)
Transforms a copy of thisPoint
using the givenAffineTransform
.Point
Point. getTranslated(double x, double y)
Creates a new Point which is translated by the specified x and y valuesPoint
Point. getTranslated(Dimension d)
Creates a new Point which is translated by the values of the input Dimension.Point
Point. getTranslated(Point p)
Creates a new Point which is translated by the values of the provided Point.Point
Point. getTransposed()
Creates a new Point with the transposed values of this Point.Point
AffineTransform. inverseTransform(Point pt)
Inverse transforms the givenPoint
with thisAffineTransform
.static Point
Point. max(Point p1, Point p2)
Creates a new Point representing the MAX of two provided Points.static Point
Point. min(Point p1, Point p2)
Creates a new Point representing the MIN of two provided Points.static Point
Point. nearest(Point referencePoint, Point... candidates)
Returns (one of) the candidate(s) with minimal distance to the given reference point.Point
Point. negate()
Negates the x and y values of this Point.Point
Point. scale(double factor)
Scales this Point by the specified amount.Point
Point. scale(double xFactor, double yFactor)
Scales this Point by the specified values.Point
Point. scale(double factorX, double factorY, Point center)
Scales thisPoint
by the given scale-factors.Point
Point. setLocation(double x, double y)
Sets the location of this Point to the provided x and y locations.Point
Point. setLocation(Point p)
Sets the location of this Point to the specified Point.Point
Point. setX(double x)
Sets the x value of this Point to the given value.Point
Point. 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)
Point
Point. transform(AffineTransform transformation)
Transforms thisPoint
in-place using the givenAffineTransform
.Point
Point. translate(double dx, double dy)
Shifts this Point by the values supplied along each axes, and returns this for convenience.Point
Point. translate(Dimension d)
Shifts this Point by the values of the Dimension along each axis, and returns this for convenience.Point
Point. 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.Point
Point. transpose()
Transposes this object.Methods in org.eclipse.gef.geometry.planar with parameters of type Point Modifier and Type Method Description boolean
Arc. contains(Point p)
boolean
BezierCurve. contains(Point p)
boolean
CurvedPolygon. contains(Point p)
boolean
Ellipse. contains(Point p)
boolean
IGeometry. contains(Point p)
boolean
Line. contains(Point p)
boolean
Path. contains(Point p)
boolean
Pie. contains(Point p)
boolean
PolyBezier. contains(Point p)
boolean
Polygon. contains(Point p)
boolean
Polyline. contains(Point p)
boolean
Rectangle. contains(Point p)
Returns whether the given point is within the boundaries of this Rectangle.boolean
RoundedRectangle. contains(Point p)
Point
AffineTransform. deltaTransform(Point pt)
Transforms the givenPoint
with thisAffineTransform
without applying the translation components of the transformation matrix of thisAffineTransform
.boolean
Polygon. equals(Point[] points)
Checks whether thisPolygon
and the one that is indirectly given via the given array of points are regarded to be equal.boolean
Polyline. equals(Point... points)
Checks whether thisPolyline
and the one that is indirectly given via the sequence of points are regarded to be equal.static Rectangle
Point. getBounds(Point... points)
static Point
Point. getCentroid(Point... points)
Computes the centroid of the givenPoint
s.static Point[]
Point. getConvexHull(Point... points)
Computes the convex hull of the given set ofPoint
s using the Graham scan algorithm.static Point[]
Point. getCopy(Point... points)
Copies an array of points, by copying each point contained in the array.Point
Point. getDifference(Point other)
double
Point. getDistance(Point p)
Calculates the distance from this Point to the one specified.double
BezierCurve. getParameterAt(Point p)
Returns the parameter value of thisBezierCurve
for the givenPoint
.Point
Arc. getProjection(Point reference)
Point
BezierCurve. getProjection(Point reference)
Point
ICurve. getProjection(Point reference)
Point
Line. getProjection(Point p)
Point
PolyBezier. getProjection(Point reference)
Point
Polyline. 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.PolyBezier
Arc. getRotatedCCW(Angle angle, Point center)
BezierCurve
BezierCurve. getRotatedCCW(Angle angle, Point center)
CurvedPolygon
CurvedPolygon. getRotatedCCW(Angle angle, Point center)
PolyBezier
Ellipse. getRotatedCCW(Angle angle, Point center)
T
IRotatable. getRotatedCCW(Angle angle, Point center)
Path
Pie. getRotatedCCW(Angle angle, Point center)
PolyBezier
PolyBezier. getRotatedCCW(Angle angle, Point center)
Polygon
Rectangle. getRotatedCCW(Angle alpha, Point center)
Ring
Region. getRotatedCCW(Angle angle, Point center)
Ring
Ring. getRotatedCCW(Angle angle, Point center)
PolyBezier
RoundedRectangle. getRotatedCCW(Angle angle, Point center)
PolyBezier
Arc. getRotatedCW(Angle angle, Point center)
BezierCurve
BezierCurve. getRotatedCW(Angle angle, Point center)
CurvedPolygon
CurvedPolygon. getRotatedCW(Angle angle, Point center)
PolyBezier
Ellipse. getRotatedCW(Angle angle, Point center)
T
IRotatable. getRotatedCW(Angle angle, Point center)
Path
Pie. getRotatedCW(Angle angle, Point center)
PolyBezier
PolyBezier. getRotatedCW(Angle angle, Point center)
Polygon
Rectangle. getRotatedCW(Angle alpha, Point center)
Ring
Region. getRotatedCW(Angle angle, Point center)
Ring
Ring. getRotatedCW(Angle angle, Point center)
PolyBezier
RoundedRectangle. getRotatedCW(Angle angle, Point center)
BezierCurve
BezierCurve. getScaled(double fx, double fy, Point center)
BezierCurve
BezierCurve. getScaled(double factor, Point center)
CurvedPolygon
CurvedPolygon. getScaled(double fx, double fy, Point center)
CurvedPolygon
CurvedPolygon. getScaled(double factor, Point center)
T
IScalable. getScaled(double fx, double fy, Point center)
Scales a copy of the calling object by the given factors relative to the given centerPoint
.T
IScalable. getScaled(double factor, Point center)
Scales a copy of the calling object by the given factor relative to the given centerPoint
.Point
Point. getScaled(double factorX, double factorY, Point center)
Returns a newPoint
scaled by the given scale-factors.PolyBezier
PolyBezier. getScaled(double fx, double fy, Point center)
PolyBezier
PolyBezier. getScaled(double factor, Point center)
Region
Region. getScaled(double fx, double fy, Point center)
Region
Region. getScaled(double factor, Point center)
Ring
Ring. getScaled(double fx, double fy, Point center)
Ring
Ring. getScaled(double factor, Point center)
Point
AffineTransform. getTransformed(Point ptSrc)
Transforms the givenPoint
with thisAffineTransform
by multiplying the transformation matrix of thisAffineTransform
with the givenPoint
.Point[]
AffineTransform. getTransformed(Point[] points)
Transforms the given array ofPoint
s with thisAffineTransform
by multiplying the transformation matrix of thisAffineTransform
individually with each of the givenPoint
s.BezierCurve
BezierCurve. getTranslated(Point d)
CurvedPolygon
CurvedPolygon. getTranslated(Point d)
T
ITranslatable. getTranslated(Point d)
Translates a copy of this object by the givenPoint
.Point
Point. getTranslated(Point p)
Creates a new Point which is translated by the values of the provided Point.PolyBezier
PolyBezier. getTranslated(Point d)
Region
Region. getTranslated(Point d)
Ring
Ring. getTranslated(Point d)
Rectangle
Rectangle. getUnioned(Point p)
Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.static PolyBezier
PolyBezier. interpolateCubic(double curveWidthCoefficient, Point... points)
static PolyBezier
PolyBezier. interpolateCubic(Angle startAngle, double startLength, Angle endAngle, double endLength, double curveWidthCoefficient, Point... wayPoints)
static PolyBezier
PolyBezier. interpolateCubic(Point... points)
Point
AffineTransform. inverseTransform(Point pt)
Inverse transforms the givenPoint
with thisAffineTransform
.static Point
Point. max(Point p1, Point p2)
Creates a new Point representing the MAX of two provided Points.static Point
Point. min(Point p1, Point p2)
Creates a new Point representing the MIN of two provided Points.static Point
Point. nearest(Point referencePoint, Point... candidates)
Returns (one of) the candidate(s) with minimal distance to the given reference point.BezierCurve
BezierCurve. rotateCCW(Angle angle, Point center)
Directly rotates thisBezierCurve
counter-clockwise (CCW) around the givenPoint
by the givenAngle
.CurvedPolygon
CurvedPolygon. rotateCCW(Angle angle, Point center)
static void
Point. rotateCCW(Point[] points, Angle angle, double cx, double cy)
PolyBezier
PolyBezier. rotateCCW(Angle angle, Point center)
Ring
Ring. rotateCCW(Angle angle, Point center)
BezierCurve
BezierCurve. rotateCW(Angle angle, Point center)
CurvedPolygon
CurvedPolygon. rotateCW(Angle angle, Point center)
static void
Point. rotateCW(Point[] points, Angle angle, double cx, double cy)
PolyBezier
PolyBezier. rotateCW(Angle angle, Point center)
Ring
Ring. rotateCW(Angle angle, Point center)
BezierCurve
BezierCurve. scale(double fx, double fy, Point center)
BezierCurve
BezierCurve. scale(double factor, Point center)
CurvedPolygon
CurvedPolygon. scale(double fx, double fy, Point center)
CurvedPolygon
CurvedPolygon. scale(double factor, Point center)
T
IScalable. scale(double fx, double fy, Point center)
Scales the calling object by the given factors relative to the given centerPoint
.T
IScalable. scale(double factor, Point center)
Scales the calling object by the given factor relative to the given centerPoint
.Point
Point. scale(double factorX, double factorY, Point center)
Scales thisPoint
by the given scale-factors.static void
Point. scale(Point[] points, double fx, double fy, double cx, double cy)
PolyBezier
PolyBezier. scale(double fx, double fy, Point center)
PolyBezier
PolyBezier. scale(double factor, Point center)
Region
Region. scale(double fx, double fy, Point center)
Region
Region. scale(double factor, Point center)
Ring
Ring. scale(double fx, double fy, Point center)
Ring
Ring. scale(double factor, Point center)
QuadraticCurve
QuadraticCurve. setCtrl(Point ctrl)
Sets the curve's control point.CubicCurve
CubicCurve. setCtrl1(Point ctrl1)
CubicCurve
CubicCurve. setCtrl2(Point ctrl2)
CubicCurve
CubicCurve. setCurve(Point p1, Point ctrl1, Point ctrl2, Point p2)
Line
Line. setLine(Point p1, Point p2)
Initializes thisLine
with the start and end point coordinates provided by the given pointsPoint
Point. setLocation(Point p)
Sets the location of this Point to the specified Point.BezierCurve
BezierCurve. setP1(Point p1)
BezierCurve
BezierCurve. setP2(Point p2)
BezierCurve
BezierCurve. setPoint(int i, Point p)
Sets the ith controlPoint
of thisBezierCurve
.BezierCurve
BezierCurve. translate(Point d)
CurvedPolygon
CurvedPolygon. translate(Point d)
T
ITranslatable. translate(Point d)
Translates the object by the givenPoint
.Point
Point. 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 void
Point. translate(Point[] points, double dx, double dy)
Translates an array ofPoint
s by translating each individual point by a given x and y offset.PolyBezier
PolyBezier. translate(Point d)
Region
Region. translate(Point d)
Ring
Ring. translate(Point d)
Rectangle
Rectangle. union(Point p)
Constructors in org.eclipse.gef.geometry.planar with parameters of type Point Constructor Description BezierCurve(Point... controlPoints)
Constructs a newBezierCurve
from the given controlPoint
s.CubicCurve(Point... points)
Constructs a newCubicCurve
from the given sequence ofPoint
s, which is expected to be in the order: startPoint
, first and second handlePoint
s, and endPoint
.CubicCurve(Point start, Point ctrl1, Point ctrl2, Point end)
Constructs a newCubicCurve
object from the given controlPoint
s.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 newQuadraticCurve
from the given sequence ofPoint
s 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 newRectangle
with the given location and size.Rectangle(Point p1, Point p2)
Segment(int type, Point... points)
Constructs a newPath.Segment
of 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 Point
Vector3D. toPoint()
Constructors in org.eclipse.gef.geometry.projective with parameters of type Point Constructor Description Vector3D(Point p)
-