bleNaviPy.indoorGML.geometry.cellGeometry module

This is a module for cell geometry for indoorGML

class bleNaviPy.indoorGML.geometry.cellGeometry.CellGeometry(id: str, name: str, points: List[bleNaviPy.indoorGML.geometry.pointGeometry.Point])

Bases: object

CellGeometry class Contains information about cell shape and name

addHole(hole: bleNaviPy.indoorGML.geometry.holeGeometry.HoleGeometry) → None

Add hole to a cell

Parameters

hole (HoleGeometry)

getDict() → dict

Get save ready cell geometry dictionary

Returns

save ready cell geometry dictionary

Return type

dict

getHolesDict() → dict

Get save ready holes of the cell geometry dictionary

Returns

save ready holes of the cell geometry dictionary

Return type

dict

getPropertiesDict() → dict

Get save ready cell properties dictionary

Returns

save ready cell properties dictionary

Return type

dict

isPointInside(point: bleNaviPy.indoorGML.geometry.pointGeometry.Point) → bool

Check if point inside a cell

Parameters

point (Point)

Returns

Is inside of cell

Return type

bool

bleNaviPy.indoorGML.geometry.cellGeometry.isPointInsidePolynomial(polynomial: List[bleNaviPy.indoorGML.geometry.pointGeometry.Point], point: bleNaviPy.indoorGML.geometry.pointGeometry.Point) → bool

Check if point is inside a polynomial

Parameters
  • polynomial (List[Point])

  • point (Point)

Returns

Is point inside the polynomial

Return type

bool