Method ComputePointAtLength
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
ComputePointAtLength(IGeometry, float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length)
Parameters
geometry
IGeometry
length
float
Returns
- Point2Float
ComputePointAtLength(IGeometry, float, out Vector2Float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length, out Vector2Float unitTangentVector)
Parameters
geometry
IGeometry
length
float
unitTangentVector
Vector2Float
Returns
- Point2Float
ComputePointAtLength(IGeometry, float, in Matrix3x2Float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length, in Matrix3x2Float worldTransform)
Parameters
geometry
IGeometry
length
float
worldTransform
Matrix3x2Float
Returns
- Point2Float
ComputePointAtLength(IGeometry, float, in Matrix3x2Float, out Vector2Float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length, in Matrix3x2Float worldTransform, out Vector2Float unitTangentVector)
Parameters
geometry
IGeometry
length
float
worldTransform
Matrix3x2Float
unitTangentVector
Vector2Float
Returns
- Point2Float
ComputePointAtLength(IGeometry, float, float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length, float flatteningTolerance)
Parameters
geometry
IGeometry
length
float
flatteningTolerance
float
Returns
- Point2Float
ComputePointAtLength(IGeometry, float, float, out Vector2Float)
public static Point2Float ComputePointAtLength(this IGeometry geometry, float length, float flatteningTolerance, out Vector2Float unitTangentVector)
Parameters
geometry
IGeometry
length
float
flatteningTolerance
float
unitTangentVector
Vector2Float
Returns
- Point2Float