DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="2.1.0-beta6460" />

 Sphere

public class Sphere : Solid
public Point CenterPoint { get; }

Return the center Point of the Sphere.

public double Radius { get; }

Return the radius of the Sphere.

public static Sphere ByBestFit(IEnumerable<Point> points)

Fit a Sphere as close as possible to the input Points.

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

Create a Solid Sphere cetered at the input Point, with given radius.

public static Sphere ByFourPoints(IEnumerable<Point> points)

Create a Solid Sphere containing four input Points on the surface.