def __init__(self, startCoords, endCoords, segNumber, isActive, isFloorChange):
    self.segmentBounds = (startCoords[0], startCoords[1], endCoords[0], endCoords[1])
    self.floor = startCoords[2]
    self.segNumber = segNumber
    self.isActive = isActive
    self.isFloorChange = isFloorChange
def __init__(self, startCoords, endCoords, segNumber, isActive, isFloorChange):
    self.segmentBounds = (startCoords[0], startCoords[1], endCoords[0], endCoords[1])
    self.floor = startCoords[2]
    self.segNumber = segNumber
    self.isActive = isActive
    self.isFloorChange = isFloorChange