このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XBezierPolyPolygon2D
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: (判決などを)下すing ::

interface XBezierPolyPolygon2D
Base Interfaces
XBezierPolyPolygon2DXPolyPolygon2D

XPolyPolygon2D
(言及/関連d interface's 要約:)
Generic interface for poly-polygons in 2D.
Description
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.

Since
OOo 2.0

Methods' 要約
getBezierSegments Query subset of this poly-polygon. 
setBezierSegments 始める,決める 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 索引  
getBezierSegment Get a 選び出す/独身 point from the poly-polygon.  
setBezierSegment 始める,決める a 選び出す/独身 point on the poly-polygon. 
Methods' 詳細(に述べる)s
getBezierSegments
sequence< sequence< ::com::sun::星/主役にする::geometry::RealBezierSegment2D > >
getBezierSegments( [in] long  nPolygonIndex,
[in] long  nNumberOfPolygons,
[in] long  nPointIndex,
[in] long  nNumberOfPoints )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
Query subset of this poly-polygon.

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 範囲.
setBezierSegments
無効の
setBezierSegments( [in] sequence< sequence< ::com::sun::星/主役にする::geometry::RealBezierSegment2D > >  points,
[in] long  nPolygonIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
始める,決める 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 範囲.
getBezierSegment
::com::sun::星/主役にする::geometry::RealBezierSegment2D
getBezierSegment( [in] long  nPolygonIndex,
[in] long  nPointIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
Get a 選び出す/独身 point from the poly-polygon.
Parameter nPolygonIndex
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 範囲.
setBezierSegment
無効の
setBezierSegment( [in] ::com::sun::星/主役にする::geometry::RealBezierSegment2D  point,
[in] long  nPolygonIndex,
[in] long  nPointIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
始める,決める a 選び出す/独身 point on the poly-polygon.

The remaining points of the poly-polygon will not be changed by this method. Use XBezierPolyPolygon2D::getNumberOfPolygons() or XBezierPolyPolygon2D::getNumberOfPolygonPoints() to append points or polygons, それぞれ.

Parameter point
The point to be 始める,決める at the poly-polygon.
Parameter nPolygonIndex
The 索引 of the polygon to 挿入する the point in. This 索引 must be in the 範囲 [0,numPolygons].
Parameter nPointIndex
The 索引 of the point in the polygon 明示するd by nPolygonIndex, which is to be 始める,決める. This value must not 越える the number of points in this polygon.
Throws
com::sun::星/主役にする::lang::IndexOutOfBoundsException if one of the given values 越える the permissible 範囲.
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.