Sides


The polygons may have four sides, which are calculated by the program. They can be:

  1. Front - one side that faces Rua.
    To calculate what will be the program does what the less segment that confronts a street.
    If it does not exist, is the lowest segment that does not confront with a parcel.
    If it does not exist, it is the segment that has the shortest length.

    Then the program divides the polygon into 4 sections (red lines in the drawing below), using the angle of the Lines line between the center of the lot and the midpoint segment as reference (blue line drawing below). Proximity then determines the beginning and end of each side.
    Consider the image below:
    The segment
    1-2 is the front, facing the street as yellow. 4-1 will be the left side, 2-3 will be the right side and 3-4 will be the bottom of the lot.
  2. Left - It depends on the observer's position, if he is in or out of the lot and looks to the left
  3. Back - Who is IN of the lot, facing the front side and looking back
  4. Right Side It depends on the observer's position, if he is in or out of the lot and looks to the right

The properties of a Side are:

Property Type Description
Start Integer Number of start vertex
End Integer Number of the end vertex
Start Vertex Expansive Start vertex
End Vertex Expansive End Vertex
Length Dimension Side length
Directions Text Directions on the side. Can be:
  • North
  • South
  • East
  • West
Confronting List List of confronting side
Segments List List of all segments of the side
Name Text Name of the side.