public class InvertibleCoordinateTransformList<E extends InvertibleCoordinateTransform> extends Object implements InvertibleBoundable, TransformList<E>
Modifier and Type | Field and Description |
---|---|
protected List<E> |
transforms |
Constructor and Description |
---|
InvertibleCoordinateTransformList() |
Modifier and Type | Method and Description |
---|---|
void |
add(E t) |
double[] |
apply(double[] location)
Apply the
CoordinateTransform to a location. |
void |
applyInPlace(double[] location)
Apply the
CoordinateTransform to a location. |
double[] |
applyInverse(double[] location)
Apply the inverse of the model to a point location
|
void |
applyInverseInPlace(double[] location)
apply the inverse of the model to a point location
|
void |
clear() |
InvertibleCoordinateTransformList<E> |
createInverse() |
void |
estimateBounds(double[] min,
double[] max)
Estimate the bounds of an n-dimensional interval [min,max] with min and
max being n-dimensional vectors.
|
void |
estimateInverseBounds(double[] min,
double[] max)
Estimate the bounds of an n-dimensional interval [min,max] with min and
max being n-dimensional vectors.
|
E |
get(int i) |
List<E> |
getList(List<E> preAllocatedList) |
void |
remove(E t) |
E |
remove(int i) |
protected final List<E extends InvertibleCoordinateTransform> transforms
public void add(E t)
add
in interface TransformList<E extends InvertibleCoordinateTransform>
public void remove(E t)
remove
in interface TransformList<E extends InvertibleCoordinateTransform>
public E remove(int i)
remove
in interface TransformList<E extends InvertibleCoordinateTransform>
public E get(int i)
get
in interface TransformList<E extends InvertibleCoordinateTransform>
public final void clear()
clear
in interface TransformList<E extends InvertibleCoordinateTransform>
public final List<E> getList(List<E> preAllocatedList)
getList
in interface TransformList<E extends InvertibleCoordinateTransform>
public final double[] apply(double[] location)
CoordinateTransform
CoordinateTransform
to a location.apply
in interface CoordinateTransform
public final void applyInPlace(double[] location)
CoordinateTransform
CoordinateTransform
to a location.applyInPlace
in interface CoordinateTransform
public final double[] applyInverse(double[] location) throws NoninvertibleModelException
InverseCoordinateTransform
applyInverse
in interface InverseCoordinateTransform
NoninvertibleModelException
public final void applyInverseInPlace(double[] location) throws NoninvertibleModelException
InverseCoordinateTransform
applyInverseInPlace
in interface InverseCoordinateTransform
NoninvertibleModelException
public void estimateBounds(double[] min, double[] max)
estimateBounds
in interface Boundable
public void estimateInverseBounds(double[] min, double[] max) throws NoninvertibleModelException
estimateInverseBounds
in interface InverseBoundable
NoninvertibleModelException
public InvertibleCoordinateTransformList<E> createInverse()
createInverse
in interface InvertibleCoordinateTransform
Copyright © 2015–2021 Fiji. All rights reserved.