Structure

Structure#

class rapidtools.processing.street_structures.Structure(footprint: list[tuple[float, float]], x: float, y: float, members: list[~rapidtools.core.observation.Observation], n_points: int, frontage_m: float, depth_m: float, observed_depth_m: float, depth_source: str, height_m: float, facade_bearing: float, days: list[str] = <factory>)[source]#

Bases: object

One building (or other structure) found in the labeled point cloud.

Variables:
  • footprint (list[tuple[float, float]]) – Outline on the ground as (x, y) vertices in the local meter frame.

  • x (float) – East coordinate of the footprint’s center.

  • y (float) – North coordinate of the footprint’s center.

  • members (list[Observation]) – One sighting per frame that shows the structure, with the outline of the structure’s points in that frame.

  • n_points (int) – Reconstructed points on the structure.

  • frontage_m (float) – Length of the facade along the street.

  • depth_m (float) – Depth of the footprint away from the street.

  • observed_depth_m (float) – Depth actually covered by points (roof and side walls the survey saw).

  • depth_source (str) – 'observed' when the points reach as deep as the footprint, 'assumed' when the rear was filled in.

  • height_m (float) – Height of the highest points above the ground.

  • facade_bearing (float) – Compass direction the facade faces, in degrees.

  • days (list[str]) – Survey days with a sighting.

property n_images: int#

Number of distinct frames that show the structure.