Package | Description |
---|---|
ome.util.math.geom2D |
Plane geometry data structures for OMERO
This includes a several implementations of various two dimensional simple
geometry classes to represent these structures within the OMERO system.
|
Modifier and Type | Field and Description |
---|---|
PlanePoint |
Line.direction
The unit vector that, given the
Line.origin point, identifies this
line. |
PlanePoint |
Line.origin
The origin point of the line.
|
Modifier and Type | Method and Description |
---|---|
PlanePoint |
PlanePoint.diff(PlanePoint vec)
Calculates the sum of this vector with the reciprocal of the specified
argument.
|
PlanePoint |
Line.getPoint(double k)
Returns the point of this line defined by
k . |
PlanePoint |
Segment.getPoint(double k)
Returns the point of this line defined by
k . |
PlanePoint[] |
EllipseArea.getPoints()
Implemented as specified by the
PlaneArea I/F. |
PlanePoint[] |
PlaneArea.getPoints()
Returns an array of
PlanePoint contained in the PlaneArea. |
PlanePoint[] |
RectangleArea.getPoints()
Implemented as specified by the
PlaneArea I/F. |
PlanePoint |
PlanePoint.normalize()
Calculates the unit vector of this vector, provided this is not the null
vector.
|
PlanePoint |
PlanePoint.scalar(double k)
Multiplies this vector by the specified scalar.
|
PlanePoint |
PlanePoint.sum(PlanePoint vec)
Calculates the sum of this vector with the specified argument.
|
PlanePoint |
PlanePoint.vec(double x1,
double x2)
Calculates the vector associated to this point and the specified
argument.
|
PlanePoint |
PlanePoint.vec(PlanePoint p)
Calculates the vector associated to this point and the specified
argument.
|
Modifier and Type | Method and Description |
---|---|
double |
PlanePoint.angle(PlanePoint vec)
Calculates the angle between this vector and the specified argument,
provided none of these vectors is the null vector.
|
PlanePoint |
PlanePoint.diff(PlanePoint vec)
Calculates the sum of this vector with the reciprocal of the specified
argument.
|
double |
PlanePoint.distance(PlanePoint p)
Calculates the distance between this point and the specified argument.
|
double |
PlanePoint.dot(PlanePoint vec)
Calulates the dot product of this vector by the specified argument.
|
boolean |
Line.lies(PlanePoint p)
Tells whether the specified point lies on this line.
|
boolean |
Line.lies(PlanePoint p,
boolean positiveOrientation)
Tells whether the specified point lies on this line and within the
specified orientation.
|
PlanePoint |
PlanePoint.sum(PlanePoint vec)
Calculates the sum of this vector with the specified argument.
|
PlanePoint |
PlanePoint.vec(PlanePoint p)
Calculates the vector associated to this point and the specified
argument.
|
Constructor and Description |
---|
Line(PlanePoint o,
PlanePoint p)
Creates a new object to represent the line passing through the
o and p points. |
Line(PlanePoint p,
PlanePoint q,
PlanePoint o)
Creates a new object to represent the line passing through
o
and having direction pq. |
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.