Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

91f9b317 72de 6d47 fd5d de4877b14e05

haplokuon edited this page May 6, 2023 · 1 revision

ArcFromBulge Method

netDxf 3.0.0 Library

Obtains the data for an arc that has a start point, an end point, and a bulge value.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static Tuple<Vector2, double, double, double> ArcFromBulge(
	Vector2 startPoint,
	Vector2 endPoint,
	double bulge
)

VB

Public Shared Function ArcFromBulge ( 
	startPoint As Vector2,
	endPoint As Vector2,
	bulge As Double
) As Tuple(Of Vector2, Double, Double, Double)

C++

public:
static Tuple<Vector2, double, double, double>^ ArcFromBulge(
	Vector2 startPoint, 
	Vector2 endPoint, 
	double bulge
)

F#

static member ArcFromBulge : 
        startPoint : Vector2 * 
        endPoint : Vector2 * 
        bulge : float -> Tuple<Vector2, float, float, float> 

Parameters

  Vector2
Arc start point.
  Vector2
Arc end point.
  Double
Arc bulge value.

Return Value

Tuple(Vector2, Double, Double, Double)
A Tuple(center, radius, startAngle in degrees, endAngle in degrees) with the arc data.

See Also

Reference

MathHelper Class
netDxf Namespace

Clone this wiki locally