bleNaviPy.indoorGML.geometry.pointGeometry module

This is a module for point geometry in indoorGML geometry

class bleNaviPy.indoorGML.geometry.pointGeometry.Point(x: float, y: float)

Bases: object

Point class Contains 2D point location

distance(point: bleNaviPy.indoorGML.geometry.pointGeometry.Point, scale: float = 1) → float

Calculate distance between 2 locations

Parameters
  • point (Point)

  • scale (float, optional) – Floor scale. Defaults to 1.

Returns

distance between point

Return type

float

getDict() → dict

Get dictionary form of point geometry ready for a saving

Returns

Save ready dict form of point geometry

Return type

dict