VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
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. More...
 
virtual void Dt3dBoundingVolume::stretchBackward (double x, double y)
 Stretch bounding volume forward/backward. More...
 

Detailed Description

Function Documentation

virtual double Dt3dBoundingVolume::boundingRadius ( ) const
inlinevirtual

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

virtual double Dt3dBoundingVolume::halfHeight ( ) const
inlinevirtual
virtual double Dt3dBoundingVolume::halfLength ( ) const
inlinevirtual
virtual double Dt3dBoundingVolume::halfWidth ( ) const
inlinevirtual
virtual double Dt3dBoundingVolume::height ( ) const
inlinevirtual
virtual double Dt3dBoundingVolume::length ( ) const
inlinevirtual
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
inlinevirtual

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)