Geometry getBoundingGeometry() {
		// Extracts the convex hull from the tree. Reading the tree in order from first to last is the resulting convex hull.
		Point point = new Point();
		int first = m_tree_hull.getFirst(-1);
		Polygon hull = new Polygon(m_shape.getVertexDescription());
		if (m_tree_hull.size(-1) == 0)
			return hull;
		
		m_shape.queryPoint(m_tree_hull.getElement(first), point);
		hull.startPath(point);

		for (int i = m_tree_hull.getNext(first); i != -1; i = m_tree_hull.getNext(i)) {
			m_shape.queryPoint(m_tree_hull.getElement(i), point);
			hull.lineTo(point);
		}

		return hull;
	}
Geometry getBoundingGeometry ( ) { Point point = new Point ( ) ; int first = m_tree_hull . getFirst ( - 1 ) ; Polygon hull = new Polygon ( m_shape . getVertexDescription ( ) ) ; if ( m_tree_hull . size ( - 1 ) == 0 ) return hull ; m_shape . queryPoint ( m_tree_hull . getElement ( first ) , point ) ; hull . startPath ( point ) ; for ( int i = m_tree_hull . getNext ( first ) ; i != - 1 ; i = m_tree_hull . getNext ( i ) ) { m_shape . queryPoint ( m_tree_hull . getElement ( i ) , point ) ; hull . lineTo ( point ) ; } return hull ; }
Gets the current bounding geometry.
Returns a Geometry.