Package boofcv.struct.border
Class BorderIndex1D
java.lang.Object
boofcv.struct.border.BorderIndex1D
- Direct Known Subclasses:
BorderIndex1D_Extend
,BorderIndex1D_Reflect
,BorderIndex1D_Wrap
public abstract class BorderIndex1D extends Object
Remaps references to elements outside of an array to elements inside of the array.
-
Field Summary
Fields Modifier and Type Field Description protected int
length
-
Constructor Summary
Constructors Constructor Description BorderIndex1D()
-
Method Summary
Modifier and Type Method Description abstract BorderIndex1D
copy()
abstract int
getIndex(int index)
int
getLength()
void
setLength(int length)
-
Field Details
-
length
protected int length
-
-
Constructor Details
-
BorderIndex1D
public BorderIndex1D()
-
-
Method Details
-
setLength
public void setLength(int length) -
getLength
public int getLength() -
getIndex
public abstract int getIndex(int index) -
copy
-