C# Class KerbalTerrainSystem.Utility

Class to store utility functions
ファイルを表示 Open project: ThomasKerman/Kerbal-Terrain-System

Public Methods

Method Description
FindNearbyQuads ( PQS pqsVersion, UnityEngine.Vector3d position, Int32 count ) : PQ[]

Find quads that are near a transform

LLAtoECEF ( Double lat, Double lon, Double alt, Double radius ) : UnityEngine.Vector3d

Convert latitude-longitude-altitude with body radius to a vector.

RebuildSphere ( PQ quads, PQS pqs ) : IEnumerator

Corutine to rebuild parts of a PQS sphere

Method Details

FindNearbyQuads() public static method

Find quads that are near a transform
public static FindNearbyQuads ( PQS pqsVersion, UnityEngine.Vector3d position, Int32 count ) : PQ[]
pqsVersion PQS
position UnityEngine.Vector3d
count System.Int32
return PQ[]

LLAtoECEF() public static method

Convert latitude-longitude-altitude with body radius to a vector.
public static LLAtoECEF ( Double lat, Double lon, Double alt, Double radius ) : UnityEngine.Vector3d
lat Double
lon Double
alt Double
radius Double
return UnityEngine.Vector3d

RebuildSphere() public static method

Corutine to rebuild parts of a PQS sphere
public static RebuildSphere ( PQ quads, PQS pqs ) : IEnumerator
quads PQ
pqs PQS
return IEnumerator