congestion_coverage_plan.map_utils.TopologicalMap.Edge

class congestion_coverage_plan.map_utils.TopologicalMap.Edge(id, start, end, start_x=None, start_y=None, end_x=None, end_y=None)

Bases: object

__init__(id, start, end, start_x=None, start_y=None, end_x=None, end_y=None)

Methods

__init__(id, start, end[, start_x, start_y, ...])

calculate_area()

get_area()

get_area_as_polygon()

get_end()

get_id()

get_length()

get_start()

is_inside_area(x, y)

to_string()