3D rectangle in the samples, lines and bands domain. More...
Public Member Functions | |
| None | CubeRange (self) |
| Creates cube range. | |
| None | CubeRange (self, cvb.NumberRange lines, cvb.NumberRange samples, cvb.NumberRange bands) |
| None | CubeRange (self, List[float] lines_list, List[float] samples_list, List[float] bands_list) |
| bool | contains (self, cvb.Point3D point) |
| Checks if the point is inside the cube range. | |
| bool | intersects_with (self, cvb.spectral.CubeRange other) |
| Checks if this cuboid intersects with another cube range. | |
Properties | |
| bands = property | |
| cvb.NumberRange: Gets or sets the range in the bands dimensions. | |
| lines = property | |
| cvb.NumberRange: Gets or sets the range in the lines dimensions. | |
| samples = property | |
| cvb.NumberRange: Gets or sets the range in the samples dimensions. | |
3D rectangle in the samples, lines and bands domain.
| None CubeRange | ( | self | ) |
Creates cube range.
Region resembling a 3D value range for hyper spectral cubes. There are two possibilities to create a CubeRange object:
| None CubeRange | ( | self, | |
| cvb.NumberRange | lines, | ||
| cvb.NumberRange | samples, | ||
| cvb.NumberRange | bands ) |
lines : cvb.NumberRange Range regarding the lines dimension.
samples : cvb.NumberRange Range regarding the samples dimension.
bands : cvb.NumberRange Range regarding the bands dimension.
| None CubeRange | ( | self, | |
| List[float] | lines_list, | ||
| List[float] | samples_list, | ||
| List[float] | bands_list ) |
lines_list : List[float] Range regarding the lines dimension [start, end].
samples_list : List[float] Range regarding the samples dimension [start, end].
bands_list : List[float] Range regarding the bands dimension [start, end].
| bool contains | ( | self, | |
| cvb.Point3D | point ) |
Checks if the point is inside the cube range.
point : cvb.Point3D Point to be checked.
bool True if the point is within the cube range, False otherwise.
| bool intersects_with | ( | self, | |
| cvb.spectral.CubeRange | other ) |
Checks if this cuboid intersects with another cube range.
other : cvb.spectral.CubeRange Other cube range for intersection test.
bool True if this cube range and the other cube range have at least one value in common, False otherwise.