![]() |
VR-Forces 5.0.2 Developer's Guide
|
Go to the source code of this file.
Classes | |
| struct | MinMaxInfo |
| DtSphere boundingSphere2DtSphere | ( | const osg::BoundingSphere & | boundingSphere | ) |
| void convertGeometry | ( | const DtTerrainPagingGeometryPtr & | geometry, |
| const Coordinate_System * | CS, | ||
| const double | worldWidth, | ||
| std::vector< DtTerrainPagingGeometryPtr > & | output | ||
| ) |
Convert geometry to internal coordinate system.
convert to coordinate system used by osgEarth tiles
convert from coordinate system used by osgEarth tiles
convert from coordinate system used by osgEarth tiles
| void convertFromOsgEarthCoordSys | ( | DtVrfChordIntersectionRecord & | record, |
| CS_Type | cstype | ||
| ) |
convert from coordinate system used by osgEarth tiles
| void unwrap | ( | double | width, |
| DtLocalVertexList & | list, | ||
| std::vector< DtTerrainPagingGeometryPtr > & | output | ||
| ) |
unwrap moves points lower one world width if they are on the upper half side of the world this is so when geometries overlap the borders of the map we know they will be on the lower half and then we only have to deal with those cases
| bool extentIntersectsAABB | ( | const DtVector & | min1, |
| const DtVector & | max1, | ||
| const DtVector & | min2, | ||
| const DtVector & | max2 | ||
| ) |
TODO ALL functions below should be inline.
Convert geometry to internal coordinate system.
| bool shapeIntersectsAABB | ( | const DtLocalVertexList & | shape, |
| const DtVector & | lower, | ||
| const DtVector & | upper | ||
| ) |
Convert geometry to internal coordinate system.
Convert geometry to internal coordinate system.
| DtVrfChordIntersectionRecord* insertRecordAlongChord | ( | const DtVrfChordIntersectionRecord & | record, |
| DtVrfChordIntersectRecordList & | intList | ||
| ) |
inserts points inter intersection record list checks each point against the one before and after and rejects if too close