SurfacePolygonTriangulatorCompute Method (CentralBody, IEnumerableCartesian, IEnumerableCartesian) |
Namespace:
AGI.Foundation.Geometry.Discrete
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static SurfaceTriangulatorResult Compute(
CentralBody centralBody,
IEnumerable<Cartesian> positions,
IEnumerable<Cartesian> holePositions
)
Public Shared Function Compute (
centralBody As CentralBody,
positions As IEnumerable(Of Cartesian),
holePositions As IEnumerable(Of Cartesian)
) As SurfaceTriangulatorResult
public:
static SurfaceTriangulatorResult^ Compute(
CentralBody^ centralBody,
IEnumerable<Cartesian>^ positions,
IEnumerable<Cartesian>^ holePositions
)
static member Compute :
centralBody : CentralBody *
positions : IEnumerable<Cartesian> *
holePositions : IEnumerable<Cartesian> -> SurfaceTriangulatorResult
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body to compute the triangulation on. - positions
- Type: System.Collections.GenericIEnumerableCartesian
The positions defining the boundary of the polygon, in the centralBody's fixed reference frame, to triangulate. - holePositions
- Type: System.Collections.GenericIEnumerableCartesian
The positions defining the hole in the polygon, in the centralBody's fixed reference frame.
Return Value
Type:
SurfaceTriangulatorResultA
SurfaceTriangulatorResult object representing the triangulation, in the
centralBody's fixed reference frame.
See Also