This is a 専攻するd interface for a 2D poly-polygon 含む/封じ込めるing
straight line and bezier segments.
This poly-polygon can 含む/封じ込める polygons consisting of a mixture of
立方(体)の bezier curves and straight lines. As the straight line is a
special 事例/患者 of a 立方(体)の bezier curve (支配(する)/統制する points collinear
with the line through start and end point), this can be 表明するd
uniformly with a sequence of ::RealBezierSegment2Ds.
By 条約, a ::RealBezierSegment2D is a straight
line segment, if all three 含む/封じ込めるd points are 厳密に equal.
始める,決める the 明示するd sequence of bezier segments to the poly-polygon.
This method can either 始める,決める the whole poly-polygon to the new
data, or 挿入する the segments at the given 索引
Query subset of this poly-polygon, starting at the given
polygon and the given point within that polygon, and
含む/封じ込めるing the 明示するd number of polygons and points in the
last polygon.
Parameter nPolygonIndex
The 索引 of the polygon to start point retrieval with. This
索引 must be in the 範囲 [0,numPolygons-1].
Parameter nNumberOfPolygons
The number of polygons to 抽出する. This value must not 越える
numPolygons-nPolygonIndex.
Parameter nPointIndex
The 索引 of the first point in the first polygon to
抽出する. This value must not 越える the number of points in
this polygon minus one.
Parameter nNumberOfPoints
The number of points to 抽出する from the last polygon. This
value must not 越える the number of points in this last
polygon minus one.
Returns
the sequence of 抽出するd points.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException
if one of the given values 越える the permissible 範囲.
始める,決める the 明示するd sequence of bezier segments to the poly-polygon.
This method can either 始める,決める the whole poly-polygon to the new
data, or 挿入する the segments at the given 索引
Parameter nPolygonIndex
The 索引 of the polygon to start segment insertion with. This
索引 must be in the 範囲 [0,numPolygons], and the insertion
will take place before this position (i.e. when
明示するing 0 here, the given bezier sequence will に先行する all
存在するing polygons already within the poly-polygon). To append
to a poly-polygon, call setPoints() with
XBezierPolyPolygon2D::getNumberOfPolygons()
as the polygon 索引. If nPolygonIndex is -1, the given
bezier sequence 取って代わるs the poly-polygon content,
such that after this method 完全にするs, it 含む/封じ込めるs 正確に/まさに the
明示するd bezier segment data.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException
if one of the given values 越える the permissible 範囲.
The 索引 of the polygon where the point to be 抽出する is
含む/封じ込めるd within. This 索引 must be in the 範囲
[0,numPolygons-1].
Parameter nPointIndex
The 索引 of the point in the polygon 明示するd by
nPolygonIndex, which is to be retrieved. This value must not
越える the number of points in this polygon minus one.
Returns
the requested point.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException
if one of the given values 越える the permissible 範囲.