TriangulatedSensorProjection Class |
Namespace: AGI.Foundation.Graphics.Advanced
The TriangulatedSensorProjection type exposes the following members.
Name | Description | |
---|---|---|
TriangulatedSensorProjection |
Initializes a new instance.
|
Name | Description | |
---|---|---|
MaximumRadius |
Gets the maximum distance of any position in MeshVertexPositions from the
SensorOrigin as of the last time that
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
was called.
| |
MeshOutlineIndices |
Gets the vertex indices defining the outline lines of the mesh.
Each pair of indices defines one line segment.
The returned array will always have at least two elements.
If the sensor has no outline, the two indices will be both be zero.
| |
MeshVertexIndices |
Gets the vertex indices defining the triangles of the sensor mesh.
Each set of three indices defines one triangle with counter-clockwise winding order.
If the sensor has no projection, this property returns . When
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
is called, the content of this array may be modified, or a new array may be created.
| |
MeshVertexNormals |
Gets the normals of the vertices defining the sensor volume mesh.
If the sensor has no projection, this property returns . When
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
is called, the content of this array may be modified, or a new array may be created.
| |
MeshVertexPositions |
Gets the positions of the vertices defining the sensor volume mesh.
If the sensor has no projection, this property returns . When
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
is called, the content of this array may be modified, or a new array may be created.
| |
SensorOrigin |
Gets the origin of the sensor as of the last time that
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
was called.
|
Name | Description | |
---|---|---|
ComputeSurfaceBoundaryLines |
Gets the boundary lines of the portions of the sensor that intersected with the surface of the
central body as of the last call to
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32).
Each pair of positions in the returned array defines a line segment on the surface.
The line segments are not necessarily all connected.
If there are no intersections with the central body, this method returns an empty array. When
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
is called, the content of the returned array may be modified.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TriangulateSurfaceRegions |
Triangulates the portions of the sensor that intersected with the surface of the central body as of the last call to
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32)
and returns a SurfaceTriangulatorResult for each distinct region.
If the sensor has no projection, this property returns an empty collection.
| |
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32) |
Updates the triangulation from a given sensor projection.
| |
UpdateFromNewProjection(CentralBody, Cartesian, SensorProjection, Int32, Boolean) |
Updates the triangulation from a given sensor projection.
|