Class Localizables
java.lang.Object
net.imglib2.util.Localizables
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classA RandomAccess that returns its current position as value.private static classprivate static classA RandomAccess that returns its current position as value.private static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long[]asLongArray(Localizable localizable) Deprecated.static booleanequals(Localizable a, Localizable b) Return true if bothLocalizablerefer to the same position.static booleanReturn true if the twoRealLocalizables refer to the same position.static booleanequals(RealLocalizable a, RealLocalizable b, double tolerance) Return true if the twoRealLocalizables refer to the same position up to a given tolerance.static RandomAccessible<Localizable> randomAccessible(int n) Create an n-dimensionalRandomAccessiblewhose value domain is its source domain.static RandomAccessibleInterval<Localizable> randomAccessibleInterval(Interval interval) static RealRandomAccessible<RealLocalizable> realRandomAccessible(int n) Create an n-dimensionalRealRandomAccessiblewhose value domain is its source domain.static StringtoString(Localizable value) Return the current position as string.static StringtoString(RealLocalizable value) Return the current position as string.
-
Constructor Details
-
Localizables
public Localizables()
-
-
Method Details
-
asLongArray
Deprecated. -
randomAccessible
Create an n-dimensionalRandomAccessiblewhose value domain is its source domain.- Parameters:
n-- Returns:
-
randomAccessibleInterval
-
realRandomAccessible
Create an n-dimensionalRealRandomAccessiblewhose value domain is its source domain.- Parameters:
n-- Returns:
-
equals
Return true if bothLocalizablerefer to the same position. -
equals
Return true if the twoRealLocalizables refer to the same position. -
equals
Return true if the twoRealLocalizables refer to the same position up to a given tolerance. -
toString
Return the current position as string. -
toString
Return the current position as string.
-
Localizable.positionAsLongArray().