Ejemplo n.º 1
0
 def add_street(self, points_count, height, width):
     self.wall_points, self.floor_points = sg.generate_street(
         sg.samples_generator_random_count(
             int(points_count // 3)), self.generator,
         height, width)
     self.width = width
     return self
Ejemplo n.º 2
0
 def add_street(self, points_count, height, width):
     self.wall_points, self.floor_points = sg.generate_street(
         sg.samples_generator_random_count(
             int(points_count // 3)), self.generator,
         height, width)
     self.width = width
     return self
Ejemplo n.º 3
0
 def add_street(self, points_count: int, height: float,
                width: float) -> "SyntheticStreetScene":
     self.wall_points, self.floor_points = sg.generate_street(
         sg.samples_generator_random_count(int(points_count // 3)),
         self.generator,  # pyre-fixme [6]
         height,
         width,
     )
     self.width = width
     return self