DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.4.0-beta6405" />

 Circle

public class Circle : Curve
public Point CenterPoint { get; }

The center of the circle

public double Radius { get; }

Returns the radius of the circle.

Best fit Circle through Points

public static Circle ByCenterPointRadius(Point centerPoint, double radius = 1)

Creates a Circle with input center Point and radius in the world XY plane, with world Z as normal.

public static Circle ByCenterPointRadiusNormal(Point centerPoint, double radius, Vector normal)

Creates a Circle with specified center Point, radius, and normal direction.

public static Circle ByPlaneRadius(Plane plane, double radius = 1)

Create a Circle centered at the input Plane origin (root), lying in the input Plane, with given radius.

public static Circle ByThreePoints(Point p1, Point p2, Point p3)

Create a Circle passing through three input Points.