Telematics SDK - Interface Specification
v1.33.62
|
Public Member Functions | |
Geometry (std::shared_ptr< Polygon > polygon) | |
Geometry (std::shared_ptr< Circle > circle) | |
GeometryType | getType () const |
std::shared_ptr< Polygon > | getPolygon () const |
std::shared_ptr< Circle > | getCircle () const |
This class represents warning area geometry to perform geofencing on alert.
telux::tel::Geometry::Geometry | ( | std::shared_ptr< Polygon > | polygon | ) |
telux::tel::Geometry::Geometry | ( | std::shared_ptr< Circle > | circle | ) |
GeometryType telux::tel::Geometry::getType | ( | ) | const |
Get the geometry type.
std::shared_ptr<Polygon> telux::tel::Geometry::getPolygon | ( | ) | const |
Get polygon goemetry as warning area to perform geofencing. This method should be called only if geometry type returned by getType() API is GeometryType::POLYGON
std::shared_ptr<Circle> telux::tel::Geometry::getCircle | ( | ) | const |
Get circle goemetry as warning area to perform geofencing. This method should be called only if geometry type returned by getType() API is GeometryType::CIRCLE