Package net.algart.matrices.stitching
Class UniversalFramePosition
java.lang.Object
net.algart.matrices.stitching.UniversalFramePosition
- All Implemented Interfaces:
FramePosition
- Direct Known Subclasses:
ShiftFramePosition
-
Method Summary
Modifier and TypeMethodDescriptionarea()
asInterpolationFunc
(Matrix<? extends PArray> sourceMatrix) boolean
Indicates whether some other object is alsoFramePosition
, specifying the same position as this one.static RectangularArea
estimateDestinationAreaByVertices
(long[] sourceMatrixDimensions, LinearOperator inverseTransform) int
hashCode()
Returns the hash code of this object.toString()
static UniversalFramePosition
valueOf
(RectangularArea area, CoordinateTransformationOperator inverseTransform)
-
Method Details
-
valueOf
public static UniversalFramePosition valueOf(RectangularArea area, CoordinateTransformationOperator inverseTransform) -
estimateDestinationAreaByVertices
public static RectangularArea estimateDestinationAreaByVertices(long[] sourceMatrixDimensions, LinearOperator inverseTransform) -
area
- Specified by:
area
in interfaceFramePosition
-
asInterpolationFunc
- Specified by:
asInterpolationFunc
in interfaceFramePosition
-
inverseTransform
-
toString
-
hashCode
public int hashCode()Description copied from interface:FramePosition
Returns the hash code of this object. The result depends on all parameters, specifying this frame position.- Specified by:
hashCode
in interfaceFramePosition
- Overrides:
hashCode
in classObject
- Returns:
- the hash code of this frame position.
-
equals
Description copied from interface:FramePosition
Indicates whether some other object is alsoFramePosition
, specifying the same position as this one.There is high probability, but no guarantee that this method returns true if the passed object specifies a frame position, identical to this one. There is a guarantee that this method returns false if the passed object specifies a frame position, different than this one.
- Specified by:
equals
in interfaceFramePosition
- Overrides:
equals
in classObject
- Parameters:
obj
- the object to be compared for equality with this frame position.- Returns:
- true if the specified object is a frame position equal to this one.
-