Package | Description |
---|---|
org.eclipse.draw2d.geometry |
Types representing or manipulating geometric values, such as Points, Dimensions, etc.
|
Modifier and Type | Method and Description |
---|---|
PrecisionPoint |
PrecisionPoint.getPreciseCopy()
Returns a precise copy of this.
|
PrecisionPoint |
PrecisionPoint.setPreciseLocation(double x,
double y)
Sets the precise location of this PrecisionPoint to the given x and y
values.
|
PrecisionPoint |
PrecisionPoint.setPreciseLocation(PrecisionPoint p)
Sets the precise location of this PrecisionPoint to the x and y values of
the given one.
|
PrecisionPoint |
PrecisionPoint.setPreciseX(double x)
Sets the precise x value of this PrecisionPoint to the given value.
|
PrecisionPoint |
PrecisionPoint.setPreciseY(double y)
Sets the precise y value of this PrecisionPoint to the given value.
|
PrecisionPoint |
Vector.toPoint()
Returns a point representation of this Vector.
|
Modifier and Type | Method and Description |
---|---|
PrecisionPoint |
PrecisionPoint.setPreciseLocation(PrecisionPoint p)
Sets the precise location of this PrecisionPoint to the x and y values of
the given one.
|
PrecisionRectangle |
PrecisionRectangle.setPreciseLocation(PrecisionPoint loc)
Sets the precise location of this PrecisionRectangle
|
Constructor and Description |
---|
Straight(PrecisionPoint point1,
PrecisionPoint point2)
Constructs a new Straight between the two given Points.
|
Vector(PrecisionPoint p)
Constructs a Vector pointed in the direction specified by a Point.
|
Vector(PrecisionPoint start,
PrecisionPoint end)
Constructs a Vector representing the direction and magnitude between to
provided Points.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.