Go to the source code of this file.
|
bool
DT_DLL_vantageTerrainImplementation | chordSphereVolumetricIntersect (const DtChord &chord, const DtSphere &sphere) |
| |
bool
DT_DLL_vantageTerrainImplementation | sphereSphereVolumetricIntersect (const DtSphere &sphere1, const DtSphere &sphere2) |
| |
bool
DT_DLL_vantageTerrainImplementation | shapeSphereVolumetricIntersect (const Coordinate_System &, const DtLocalVertexList &shape, const DtSphere &sphere) |
| |
bool
DT_DLL_vantageTerrainImplementation | geometrySphereVolumetricIntersect (const Coordinate_System &, DtTerrainPagingGeometryPtr geometry, const DtSphere &sphere) |
| |
bool
DT_DLL_vantageTerrainImplementation | DtIntersectRaySphere2 (const DtPoint &rayStartPoint, const DtVector &rayDirectionNonNormalized, const DtSphere &sphere, double &t) |
| |
| Coordinate_System * | createVrfCoordinateSystem (const makVrv::DtCoordinateSystem &coodSysIn) |
| |
| void | getBasisAndOrigin (osg::Matrix &matrix, btMatrix3x3 &basisA, btVector3 &origin, osg::Vec3d &scale, bool &scaled) |
| |
|
| btVector3 | DtPoint2btVector3 (const DtPoint &p) |
| |
| btVector3 | DtVector2btVector3 (const DtVector &v) |
| |
| DtPoint | btVector32DtPoint (const btVector3 &v) |
| |
| DtVector | btVector32DtVector (const btVector3 &v) |
| |
bool
DT_DLL_vantageTerrainImplementation | btVectorIsZero (const btVector3 &v) |
| |
| #define LONG_FUDGE_FACTOR 1e-6 |
| #define SETNORTH |
( |
|
u, |
|
|
|
n |
|
) |
| (u).setNorth((n)) |
| #define SETEAST |
( |
|
u, |
|
|
|
e |
|
) |
| (u).setEast((e)) |
| #define SETUP |
( |
|
u, |
|
|
|
upp |
|
) |
| (u).setUp((upp)) |
| btVector3 DtPoint2btVector3 |
( |
const DtPoint & |
p | ) |
|
|
inline |
| btVector3 DtVector2btVector3 |
( |
const DtVector & |
v | ) |
|
|
inline |
Utilities for using Bullet in MAK products.
| DtPoint btVector32DtPoint |
( |
const btVector3 & |
v | ) |
|
|
inline |
Utilities for using Bullet in MAK products.
| DtVector btVector32DtVector |
( |
const btVector3 & |
v | ) |
|
|
inline |
Utilities for using Bullet in MAK products.
Utilities for using Bullet in MAK products.
- Returns
- True if the specified chord intersects with the volume defined by sphere. The chord may be wholly contained within the sphere, and this will return true.
- Returns
- True if the two spheres intersect. One sphere may be wholly contained within the other sphere, and this will return true.
Note that this function treats the shape as if it is in two dimensions (all tests ignore height for the sphere and the vertices).
- Returns
- True if the shape intersects the sphere. This means that either the center of the sphere is within the shape, or the center of the sphere is within its own radius of the nearest point on the shape.
- Returns
- True if the sphere overlaps the geometry defined in the geometry pointer. Uses the above volumetric intersect functions to do the intersection.
Almost the same function DtIntersectRaySphere in makTerrainToolkit But removing a few lines of code since in some case we don't need intersection points and segment chord.
| void getBasisAndOrigin |
( |
osg::Matrix & |
matrix, |
|
|
btMatrix3x3 & |
basisA, |
|
|
btVector3 & |
origin, |
|
|
osg::Vec3d & |
scale, |
|
|
bool & |
scaled |
|
) |
| |