Utils
This section covers how to use the util classes
-
class cryptonets_python_sdk.helper.utils.BoundingBox(top_left_coordinate=None, bottom_right_coordinate=None)
- Attributes:
bottom_right_coordinate
Returns the bottom right coordinate
top_left_coordinate
Returns the top left coordinate
-
property bottom_right_coordinate: Point
Returns the bottom right coordinate
- Returns:
- Point
x: float
y: float
-
property top_left_coordinate: Point
Returns the top left coordinate
- Returns:
- Point
x: float
y: float
-
class cryptonets_python_sdk.helper.utils.Point(x=None, y=None)
Creates a point on a coordinate plane with values x and y.
- Attributes:
x
Returns the x coordinate of the object
y
Returns the y coordinate of the object
-
property x
Returns the x coordinate of the object
-
property y
Returns the y coordinate of the object