TrigSegmentCurve Method
Segment a curve into individual lines.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2414.4032
public static List<FPoint> SegmentCurve(
FPoint centerPoint,
float radius,
float startAngle,
float sweepAngle,
float stepAngle
)
Public Shared Function SegmentCurve (
centerPoint As FPoint,
radius As Single,
startAngle As Single,
sweepAngle As Single,
stepAngle As Single
) As List(Of FPoint)
No code example is currently available or this language may not be supported.
- centerPoint FPoint
-
Coordinates of the center of the curve.
- radius Single
-
Radius of the curve.
- startAngle Single
-
Angle at which the curve starts, in degrees.
- sweepAngle Single
-
Sweep of the curve, in degrees, in counter-clockwise motion.
If negative, the sweep is clockwise.
- stepAngle Single
-
Angle of each generated segment from the last, in degrees.
ListFPoint
Collection of points, including the start and end.
All increasing sweeps are counted in incrementing steps while
all decreasing sweeps are counted in decrementing steps.
If you need for the ray to pass through the 0 point during
generation, as in 350 to 10 in a decreasing direction, or 10 to 350 in
an increasing direction, then set the destination angle higher than
360 or less than 0, as appropriate for the direction of cast,
respectively.