mpicbg.models

## Class Point

• ### Field Summary

Fields
Modifier and Type Field and Description
`protected double[]` `l`
Local coordinates
`protected double[]` `w`
World coordinates
• ### Constructor Summary

Constructors
Constructor and Description
`Point(double[] l)`
Constructor Sets `l` to the given double[] reference.
```Point(double[] l, double[] w)```
Constructor Sets `l` to the given double[] reference.
• ### Method Summary

All Methods
Modifier and Type Method and Description
`void` `apply(CoordinateTransform t)`
`void` ```apply(CoordinateTransform t, double amount)```
Apply a `CoordinateTransform` to the `Point` by a given amount.
`static <P extends Point>void` ```apply(CoordinateTransform t, Iterable<P> points)```
`void` `applyInverse(InverseCoordinateTransform t)`
`static void` ```applyInverse(InverseCoordinateTransform t, Iterable<Point> points)```
`Point` `clone()`
Clone this `Point` instance.
`double` `distance()`
Estimate the Euclidean distance of local and world coordinates.
`static double` ```distance(Point p1, Point p2)```
Estimate the Euclidean distance of two `Points` in world space.
`double[]` `getL()`
`double[]` `getW()`
`static double` ```localDistance(Point p1, Point p2)```
Estimate the Euclidean distance of two `Points` in local space.
`double` `squareDistance()`
Estimate the square distance of local and world coordinates.
`static double` ```squareDistance(Point p1, Point p2)```
Estimate the square Euclidean distance of two `Points` in world space.
`static double` ```squareLocalDistance(Point p1, Point p2)```
Estimate the square Euclidean distance of two `Points` in local space.
• ### Methods inherited from class java.lang.Object

`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Field Detail

• #### w

`protected final double[] w`
World coordinates
• #### l

`protected final double[] l`
Local coordinates
• ### Constructor Detail

• #### Point

```public Point(double[] l,
double[] w)```
Constructor Sets `l` to the given double[] reference.
Parameters:
`l` - reference to the local coordinates of the `Point`
`w` - reference to the world coordinates of the `Point`
• #### Point

`public Point(double[] l)`
Constructor Sets `l` to the given double[] reference.
Parameters:
`l` - reference to the local coordinates of the `Point`