![]() |
VR-Forces 5.0.1 Developer's Guide
|
Functions | |
| void | ArrangePositionsLeftToRight2D (const std::vector< std::pair< DtLocation3D, DtLocation3D > > &inPoints, const DtLocation3D &originPoint, const DtLocation3D &destinationPoint, std::vector< std::pair< DtLocation3D, DtLocation3D > > &outPoints) |
| DtLocation3D | FindAreaCenter2D (const std::list< DtLocation3D > &targetAreaCorners) |
| void | MakeRelativeSearchArea2D (const DtLocation3D &origin, const DtLocation3D &referencePoint, double widthSideSide, double depthForwardBack, std::list< DtLocation3D > &searchAreaCorners) |
| void | ConvertToLocalVectorList (const std::list< DtLocation3D > &sourceLocations, DtLocalVertexList &resultsList, DtTerrainInterface *pTerrainIf, bool bClamp=true) |
| void vrfTrl::ArrangePositionsLeftToRight2D | ( | const std::vector< std::pair< DtLocation3D, DtLocation3D > > & | inPoints, |
| const DtLocation3D & | originPoint, | ||
| const DtLocation3D & | destinationPoint, | ||
| std::vector< std::pair< DtLocation3D, DtLocation3D > > & | outPoints | ||
| ) |
Sort the given points left to right, perpendicular to reference line from origin to destination.
| DtLocation3D vrfTrl::FindAreaCenter2D | ( | const std::list< DtLocation3D > & | targetAreaCorners | ) |
Given a list of Location3D objects, return a DtLocation3D representing 2D center. Center is an average of latitude and longitude.
| void vrfTrl::MakeRelativeSearchArea2D | ( | const DtLocation3D & | origin, |
| const DtLocation3D & | referencePoint, | ||
| double | widthSideSide, | ||
| double | depthForwardBack, | ||
| std::list< DtLocation3D > & | searchAreaCorners | ||
| ) |
Given an origin point and a reference point, make an area about the origin facing the reference point.
| void vrfTrl::ConvertToLocalVectorList | ( | const std::list< DtLocation3D > & | sourceLocations, |
| DtLocalVertexList & | resultsList, | ||
| DtTerrainInterface * | pTerrainIf, | ||
| bool | bClamp = true |
||
| ) |
Given a list of locations in a local coordinate system, clamp them to terrain height.