VR-Link API Documentation for HLA 1516
Functions
/mutators to manipulate the "box" dimensions

Functions

virtual double Dt3dBoundingVolume::length () const
virtual double Dt3dBoundingVolume::width () const
virtual double Dt3dBoundingVolume::height () const
virtual double Dt3dBoundingVolume::halfLength () const
virtual double Dt3dBoundingVolume::halfWidth () const
virtual double Dt3dBoundingVolume::halfHeight () const
virtual double Dt3dBoundingVolume::boundingRadius () const
 The radius is calculated from other data, and is always valid.
virtual void Dt3dBoundingVolume::setHalfLengthWidthHeight (double halfLength, double halfWidth, double halfHeight)
virtual void Dt3dBoundingVolume::setHalfLength (double newHalfLength)
virtual void Dt3dBoundingVolume::stretchForward (double x, double y)
 Stretch bounding volume forward/backward.
virtual void Dt3dBoundingVolume::stretchBackward (double x, double y)
 Stretch bounding volume forward/backward.

Function Documentation

virtual double Dt3dBoundingVolume::boundingRadius ( ) const [inline, virtual]

The radius is calculated from other data, and is always valid.

virtual double Dt3dBoundingVolume::halfHeight ( ) const [inline, virtual]
virtual double Dt3dBoundingVolume::halfLength ( ) const [inline, virtual]
virtual double Dt3dBoundingVolume::halfWidth ( ) const [inline, virtual]
virtual double Dt3dBoundingVolume::height ( ) const [inline, virtual]
virtual double Dt3dBoundingVolume::length ( ) const [inline, virtual]
virtual void Dt3dBoundingVolume::setHalfLength ( double  newHalfLength) [virtual]
virtual void Dt3dBoundingVolume::setHalfLengthWidthHeight ( double  halfLength,
double  halfWidth,
double  halfHeight 
) [virtual]
virtual void Dt3dBoundingVolume::stretchBackward ( double  x,
double  y 
) [virtual]

Stretch bounding volume forward/backward.

This will often be used to add a forward buffer to the BV to accommodate braking distance. The y value reflects lateral clearance, which is symmetric.

This function is optimized for actual usage, and hence does not accommodate z axis changes.

Clearly negative numbers will "shrink" the associated edge. We check that the volume remains positive.


| /\ | | | lateral |

| | |

| | | | x | stop | | ------>|----->| | | | dist | | | y | |

| \/ | |

| | | | | lateral |

| \/ |

virtual void Dt3dBoundingVolume::stretchForward ( double  x,
double  y 
) [virtual]

Stretch bounding volume forward/backward.

This will often be used to add a forward buffer to the BV to accommodate braking distance. The y value reflects lateral clearance, which is symmetric.

This function is optimized for actual usage, and hence does not accommodate z axis changes.

Clearly negative numbers will "shrink" the associated edge. We check that the volume remains positive.


| /\ | | | lateral |

| | |

| | | | x | stop | | ------>|----->| | | | dist | | | y | |

| \/ | |

| | | | | lateral |

| \/ |

virtual double Dt3dBoundingVolume::width ( ) const [inline, virtual]

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)