Click or drag to resize

EllipsoidSurfaceRegionCreateRegionUsingDiscreteCurves Method (Ellipsoid, Double, EllipsoidSurfaceCurve, Cartographic, Boolean)

Note: This API is now obsolete.

Create a region using a set of surface 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 SpecifiedCurveEllipsoidSurfaceRegionBuilder.")]
public static EllipsoidSurfaceRegion CreateRegionUsingDiscreteCurves(
	Ellipsoid shape,
	double granularity,
	EllipsoidSurfaceCurve curve,
	Cartographic referencePoint,
	bool referencePointInsideRegion
)

Parameters

shape
Type: AGI.Foundation.Geometry.ShapesEllipsoid
The reference surface.
granularity
Type: SystemDouble
The maximum angular distance between the discrete points with respect to the center of the Ellipsoid. A small granularity will yield a more precise representation of the boundary.
curve
Type: AGI.Foundation.Geometry.ShapesEllipsoidSurfaceCurve
A closed curve representing the boundary 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
InvalidOperationExceptionThrown if the initial and final points of the boundary curve are not equal.
Remarks
The centroid of the area target will be computed based on the discretization of the curve. If the granularity is too high, the representation of the boundary for use with IsPointInsideRegion(Cartographic) will be imprecise. If the user has a list of edges forming the region, use a EllipsoidComplexSurfaceCurve to combine them into one boundary.
See Also