Click or drag to resize

EllipsoidSurfaceRegionCreateRegionUsingDiscreteGeodesics Method (Ellipsoid, Double, IEnumerableCartographic, Cartographic, Boolean)

Note: This API is now obsolete.

Create a region using a set of EllipsoidGeodesic curves to connect the nodes and project the points onto a plane tangent to the centroid when computing intersections.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
[ObsoleteAttribute("See SpecifiedNodesEllipsoidSurfaceRegionBuilder.")]
public static EllipsoidSurfaceRegion CreateRegionUsingDiscreteGeodesics(
	Ellipsoid shape,
	double granularity,
	IEnumerable<Cartographic> nodes,
	Cartographic referencePoint,
	bool referencePointInsideRegion
)

Parameters

shape
Type: AGI.Foundation.Geometry.ShapesEllipsoid
The reference surface.
granularity
Type: SystemDouble
The maximum angular distance to use when discretizing the boundary. See GetDiscretePoints(Double)
nodes
Type: System.Collections.GenericIEnumerableCartographic
The planetodetic nodes defining the corners of the surface region.
referencePoint
Type: AGI.Foundation.CoordinatesCartographic
A reference point to manually specify as inside or outside the region, to allow for cases like regions larger than half the globe since the default behavior always selects the smaller portion of the ellipsoid as the region.
referencePointInsideRegion
Type: SystemBoolean
The specification for whether the referencePoint is inside or outside the region.

Return Value

Type: EllipsoidSurfaceRegion
A region which is defined by the given set of points.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the number of nodes is less than 2.
See Also