Click or drag to resize

EllipsoidSurfaceRegionCreateRegionUsingDiscreteCurves Method (Ellipsoid, EllipsoidSurfaceCurve)

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)
[ObsoleteAttribute("See SpecifiedCurveEllipsoidSurfaceRegionBuilder.")]
public static EllipsoidSurfaceRegion CreateRegionUsingDiscreteCurves(
	Ellipsoid shape,
	EllipsoidSurfaceCurve curve


Type: AGI.Foundation.Geometry.ShapesEllipsoid
The reference surface.
Type: AGI.Foundation.Geometry.ShapesEllipsoidSurfaceCurve
A closed curve representing the boundary of the surface region.

Return Value

Type: EllipsoidSurfaceRegion
A region which is defined by the given set of points.
InvalidOperationExceptionThrown if the initial and final points of the boundary curve are not equal.
The centroid of the area target will be computed based on the discretization of the curve. The default granularity is 0.5 degrees. Depending on the precision required to determine which points near the boundary are inside, this value may be too large. If this is the case, use the overload which takes a granularity explicitly. If the user has a list of edges forming the region, use a EllipsoidComplexSurfaceCurve to combine them into one boundary.
See Also