Class Invariant: The DtGroundInteractionPt class must always have a valid DtAttachedTerrain or DtSimManager pointer.
More...
Detailed Description
Class Invariant: The DtGroundInteractionPt class must always have a valid DtAttachedTerrain or DtSimManager pointer.
Constructor & Destructor Documentation
| DtGroundInteractionPt::DtGroundInteractionPt |
( |
| ) |
|
| virtual DtGroundInteractionPt::~DtGroundInteractionPt |
( |
| ) |
|
|
virtual |
Member Function Documentation
| DtGroundInteractionPt& DtGroundInteractionPt::operator= |
( |
const DtChordIntersectionRecord & |
intersectionRecord | ) |
|
Assign from a chord intersection record.
Not virtual, because called from constructor.
| virtual bool DtGroundInteractionPt::isOnGround |
( |
| ) |
|
|
virtual |
Returns true if myAltitude <= 0.0.
| virtual DtFloat64 DtGroundInteractionPt::calculatePosition |
( |
| ) |
|
|
virtual |
Calculates position in world coordinates, and returns altitude above or below ground.
Above ground is defined as positive altitude. Also sets the ground position.
| virtual void DtGroundInteractionPt::calculatePositionWithoutGround |
( |
| ) |
|
|
virtual |
Just calculate the position value using the parent's position.
| virtual const DtVector& DtGroundInteractionPt::localPosition |
( |
| ) |
const |
|
virtual |
| virtual void DtGroundInteractionPt::setLocalPosition |
( |
const DtVector & |
position | ) |
|
|
virtual |
| virtual void DtGroundInteractionPt::setTerrainAttachedTo |
( |
DtAttachedTerrain * |
newTerrainAttachedTo | ) |
|
|
virtual |
| virtual void DtGroundInteractionPt::setPosition |
( |
const DtVector & |
position | ) |
|
|
virtual |
| virtual DtVector DtGroundInteractionPt::calculateOnGroundPlanePosition |
( |
| ) |
const |
|
virtual |
If the ground interaction point is used to actually place an object on the ground by offsetting the object's position relative to the ground by the interaction point offset amounts, this is the position on the plane in which the (offset) object will lie, directly above the ground interaction point.
This can only be used if the groundPosition() has already been determined by calling calculatePosition() (or set directly via mutator) and the parentOrientation has been provided.
| virtual const DtVector& DtGroundInteractionPt::position |
( |
| ) |
const |
|
virtual |
These simply return the corresponding member variable.
calculatePosition() must be called for them to be up-to-date.
| virtual DtFloat64 DtGroundInteractionPt::altitude |
( |
| ) |
const |
|
virtual |
| virtual void DtGroundInteractionPt::setAltitude |
( |
DtFloat64 |
alt | ) |
|
|
virtual |
| virtual const DtVector& DtGroundInteractionPt::groundPosition |
( |
| ) |
const |
|
virtual |
| virtual void DtGroundInteractionPt::setGroundPosition |
( |
const DtVector & |
pos | ) |
|
|
virtual |
| virtual DtRoughnessSoilType DtGroundInteractionPt::soilType |
( |
| ) |
const |
|
virtual |
| virtual void DtGroundInteractionPt::setSoilType |
( |
DtRoughnessSoilType |
type | ) |
|
|
virtual |
| virtual const DtSurface& DtGroundInteractionPt::surface |
( |
| ) |
const |
|
virtual |
| virtual void DtGroundInteractionPt::setSurface |
( |
const DtSurface & |
surface | ) |
|
|
virtual |
| virtual void DtGroundInteractionPt::setParentPosition |
( |
const DtVector & |
pos | ) |
|
|
virtual |
| virtual void DtGroundInteractionPt::setParentOrientation |
( |
const DtDcm & |
orient | ) |
|
|
virtual |
| bool DtGroundInteractionPt::testInvariant |
( |
| ) |
const |
|
protected |
Member Data Documentation
| DtVector DtGroundInteractionPt::myParentPosition |
|
protected |
| DtDcm DtGroundInteractionPt::myParentOrientation |
|
protected |
| DtVector DtGroundInteractionPt::myLocalPosition |
|
protected |
| DtVector DtGroundInteractionPt::myPosition |
|
protected |
| DtVector DtGroundInteractionPt::myGroundPosition |
|
protected |
| DtFloat64 DtGroundInteractionPt::myAltitude |
|
protected |
| DtRoughnessSoilType DtGroundInteractionPt::mySoilType |
|
protected |
| DtSurface DtGroundInteractionPt::mySurface |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrfobjcore/groundInter.h