mpicbg.models

## Class Point

• ### Field Summary

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

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

Methods
Modifier and Type Method and Description
`void` `apply(CoordinateTransform t)`
`void` ```apply(CoordinateTransform t, float 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)`
Apply the inverse of a `InvertibleModel` to the `Point`.
`static void` ```applyInverse(InverseCoordinateTransform t, Iterable<Point> points)```
`Point` `clone()`
Clone this `Point` instance.
`float` `distance()`
Estimate the Euclidean distance of local and world coordinates.
`static float` ```distance(Point p1, Point p2)```
Estimate the Euclidean distance of two `Points` in world space.
`float[]` `getL()`
`float[]` `getW()`
`static float` ```localDistance(Point p1, Point p2)```
Estimate the Euclidean distance of two `Points` in local space.
`float` `squareDistance()`
Estimate the square distance of local and world coordinates.
`static float` ```squareDistance(Point p1, Point p2)```
Estimate the square Euclidean distance of two `Points` in world space.
`static float` ```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 float[] w`
World coordinates
• #### l

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

• #### Point

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

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