SofaCreateLdBody Method

Returns a fully initialised LdBody struct. Only required for frameworks earlier than .NET 8.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static SofaLdBody CreateLdBody()

Return Value

SofaLdBody
An LdBody struct with the pv[6] array present and initialised to zero values.

Remarks

The SOFA pv array is a 2x3 matrix stored in row-major order. This is depicted as a C array: ld[2][3]. The managed array is a single-dimensional array of length 6 with elements in the order: [0] = ld[0,0], [1] = ld[0,1], [2] = ld[0,2], [3] = ld[1,0], [4] = ld[1,1], [5] = ld[1,2].

Version Information

.NET Standard

Supported in: 2.0

See Also