Builder function ( ) { validate ( ) ; _sides . add ( new Line ( _vertexes . get ( _vertexes . size ( ) - 1 ) , _vertexes . get ( 0 ) ) ) ; _isClosed = true ; return this ; }
close the polygon shape . this will create a new side edge from the last vertex point to the first vertex point . concode_field_sep List<Point> _vertexes concode_elem_sep BoundingBox _boundingBox concode_elem_sep float yMin concode_elem_sep boolean _isClosed concode_elem_sep boolean _firstPoint concode_elem_sep float xMin concode_elem_sep BoundingBox _boundingBox concode_elem_sep float yMax concode_elem_sep List<Line> _sides concode_elem_sep float xMax concode_elem_sep List<Line> _sides concode_field_sep boolean inBoundingBox concode_elem_sep boolean contains concode_elem_sep boolean intersect concode_elem_sep Line createRay concode_elem_sep Polygon build concode_elem_sep List<Line> getSides concode_elem_sep Builder Builder concode_elem_sep void updateBoundingBox concode_elem_sep Builder addVertex concode_elem_sep void validate