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:
objectCellGeometry 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
-
getHolesDict() → dict¶ Get save ready holes of the cell geometry dictionary
- Returns
save ready holes of the cell geometry dictionary
- Return type
-
getPropertiesDict() → dict¶ Get save ready cell properties dictionary
- Returns
save ready cell properties dictionary
- Return type
-
isPointInside(point: bleNaviPy.indoorGML.geometry.pointGeometry.Point) → bool¶ Check if point inside a cell
- Parameters
point (Point)
- Returns
Is inside of cell
- Return type
-
-
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