Click or drag to resize

SurfaceShapesComputeCircleCartographic Method (CentralBody, Cartographic, Double, Double)

For convenience. Computes boundary positions for a circle on the specified centralBody using a Cartographic center. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting center to Cartesian and calling ComputeCircle(CentralBody, Cartesian, Double, Double)

Namespace:  AGI.Foundation.Geometry.Discrete
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static SurfaceShapesResult ComputeCircleCartographic(
	CentralBody centralBody,
	Cartographic center,
	double radius,
	double granularity
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body to compute the circle on.
center
Type: AGI.Foundation.CoordinatesCartographic
The center of the circle.
radius
Type: SystemDouble
The radius of the circle, in meters.
granularity
Type: SystemDouble
The angular separation, in radians, of positions along the boundary.

Return Value

Type: SurfaceShapesResult
A SurfaceShapesResult object representing the boundary of the circle, in the centralBody's fixed reference frame.
Remarks
See Also