3D rectangle in the samples, lines and bands domain. More...
Public Member Functions | |
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.
Creates cube range.
Region resembling a 3D value range for hyper spectral cubes. There are two possibilities to create a CubeRange object:
lines : cvb.NumberRange Range regarding the lines dimension.
samples : cvb.NumberRange Range regarding the samples dimension.
bands : cvb.NumberRange Range regarding the bands dimension.
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.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.