TriangulatedSensorProjection.UpdateFromNewProjection Method (CentralBody, Cartesian, SensorProjection, Int32, Boolean) |
Updates the triangulation from a given sensor projection.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic void UpdateFromNewProjection(
CentralBody centralBody,
Cartesian sensorOrigin,
SensorProjection projection,
int approximateSamplesPerBoundary,
bool triangulateProjectionEndCap
)
Public Sub UpdateFromNewProjection (
centralBody As CentralBody,
sensorOrigin As Cartesian,
projection As SensorProjection,
approximateSamplesPerBoundary As Integer,
triangulateProjectionEndCap As Boolean
)
public:
void UpdateFromNewProjection(
CentralBody^ centralBody,
Cartesian sensorOrigin,
SensorProjection^ projection,
int approximateSamplesPerBoundary,
bool triangulateProjectionEndCap
)
member UpdateFromNewProjection :
centralBody : CentralBody *
sensorOrigin : Cartesian *
projection : SensorProjection *
approximateSamplesPerBoundary : int *
triangulateProjectionEndCap : bool -> unit
Parameters
- centralBody
- Type: AGI.Foundation.Celestial.CentralBody
The central body onto which the sensor is projected. - sensorOrigin
- Type: AGI.Foundation.Coordinates.Cartesian
The origin of the sensor, expressed in the
FixedFrame of the
centralBody.
- projection
- Type: AGI.Foundation.Geometry.Shapes.SensorProjection
The new sensor projection. - approximateSamplesPerBoundary
- Type: System.Int32
The number of samples to use per sensor projection boundary when triangulating. - triangulateProjectionEndCap
- Type: System.Boolean
Whether triangulations will be performed for an end cap of the projection.
See Also