public interface Line extends RealMaskRealInterval
RealMaskRealInterval which defines a line defined in n-d space.| Modifier and Type | Method and Description |
|---|---|
default BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
RealLocalizable |
endpointOne()
Returns the first endpoint.
|
RealLocalizable |
endpointTwo()
Returns the second endpoint.
|
static boolean |
equals(Line line1,
Line line2)
Determines whether two lines describe the same region.
|
boolean |
equals(Object obj)
Determines whether this line describes the same region as another one.
|
static int |
hashCode(Line line)
Computes a hash code for a line.
|
default Class<?> |
maskType()
Returns the type of the mask.
|
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMinRealLocalizable endpointOne()
RealLocalizable endpointTwo()
default Class<?> maskType()
MaskPredicateequality and
hashing.maskType in interface MaskPredicate<RealLocalizable>default BoundaryType boundaryType()
MaskPredicateboundaryType in interface MaskPredicate<RealLocalizable>boolean equals(Object obj)
equals in interface MaskPredicate<RealLocalizable>equals in class Objectobj - The line to compare with this one.MaskPredicate.equals(Object),
equals(Line, Line)static int hashCode(Line line)
line - The line for which to compute the hash code.static boolean equals(Line line1, Line line2)
Two lines are equal iff they have the same dimensionality and endpoints.
line1 - The first line to compare.line2 - The second line to compare.Copyright © 2015–2022 ImgLib2. All rights reserved.