Query subset of this poly-polygon, starting at the given
polygon and the given point within that polygon, and
containing the specified number of polygons and points in the
last polygon.
Set the specified sequence of points to the poly-polygon.
This method can either set the whole poly-polygon to the new
data, or insert the points at the given index
Query subset of this poly-polygon, starting at the given
polygon and the given point within that polygon, and
containing the specified number of polygons and points in the
last polygon.
Parameter nPolygonIndex
The index number of the polygon to start with extracting
points. Set to 0 to start with the first polygon.
Parameter nNumberOfPolygons
The number of polygons, starting with nPolygonIndex, to
extract points from. Set to -1 to extract all polygons,
starting with nPolygonIndex (i.e. a total of
getNumberOfPolygons() - nPolygonIndex polygons is extracted).
Parameter nPointIndex
The index of the point within the first polygon (that with the
index number nPolygonIndex) to start extraction with. Set to 0
to start with the first point in this polygon.
Parameter nNumberOfPoints
The number of points in the last polygon of the extraction
sequence, to be extracted. Set to -1 to extract all points
from the last polygon.
Set the specified sequence of points to the poly-polygon.
This method can either set the whole poly-polygon to the new
data, or insert the points at the given index
Parameter nPolygonIndex
The index of the polygon to start point insertion with. This
index must be in the range [0,numPolygons], and the insertion
will take place before this position (i.e. when
specifying 0 here, the given point sequence will precede all
existing polygons already within the poly-polygon). To append
to a poly-polygon, call setPoints() with
XLinePolyPolygon2D::getNumberOfPolygons()
as the polygon index. If nPolygonIndex is -1, the given
sequence of points replaces the poly-polygon content,
such that after this method completes, it contains exactly the
specified point data.
Throws
com::sun::star::lang::IndexOutOfBoundsException
if one of the given values exceed the permissible range.