DioDocs for PDF
ComputePointAtLength(Single,Single,Point2F) メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > Geometry クラス > ComputePointAtLength メソッド : ComputePointAtLength(Single,Single,Point2F) メソッド
The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
Whenthis method returns, contains a reference to the tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.
Calculates the point and tangent vector at the specified distance along the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
シンタックス
'宣言
 
Public Overloads Function ComputePointAtLength( _
   ByVal length As System.Single, _
   ByVal flatteningTolerance As System.Single, _
   ByRef unitTangentVector As Point2F _
) As Point2F
public Point2F ComputePointAtLength( 
   System.float length,
   System.float flatteningTolerance,
   out Point2F unitTangentVector
)

パラメータ

length
The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
flatteningTolerance
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
unitTangentVector
Whenthis method returns, contains a reference to the tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.

戻り値の型

The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.
参照

Geometry クラス
Geometry メンバ
オーバーロード一覧