Grasshopper API
GH_GraphicsUtilSolveArc Method (Double, Double, Double, Double, Double, Double, RectangleF, Single, Single) |
Create a GDI circular arc definition from start-point, end-point and tangent direction.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static bool SolveArc( double p0X, double p0Y, double p1X, double p1Y, double dx, double dy, ref RectangleF box, ref float angle, ref float sweep )
Public Shared Function SolveArc ( p0X As Double, p0Y As Double, p1X As Double, p1Y As Double, dx As Double, dy As Double, ByRef box As RectangleF, ByRef angle As Single, ByRef sweep As Single ) As Boolean
Parameters
- p0X
- Type: SystemDouble
- p0Y
- Type: SystemDouble
- p1X
- Type: SystemDouble
- p1Y
- Type: SystemDouble
- dx
- Type: SystemDouble
- dy
- Type: SystemDouble
- box
- Type: System.DrawingRectangleF
- angle
- Type: SystemSingle
- sweep
- Type: SystemSingle
Return Value
Type: Boolean