VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
MinMaxInfo Struct Reference

code for checking if a geometry wraps around the borders of the world map

Public Member Functions

void update (const DtPoint &p)
 
bool wrapsAround (double width) const
 
 MinMaxInfo ()
 

Public Attributes

double min
 
double max
 

Constructor & Destructor Documentation

MinMaxInfo::MinMaxInfo ( )
inline

Member Function Documentation

void MinMaxInfo::update ( const DtPoint p)
inline

update min and max values

References max, min, and DtPoint::x().

bool MinMaxInfo::wrapsAround ( double  width) const
inline

check is points analyzed so far indicate shape wraps around the world

References max, and min.

Member Data Documentation

double MinMaxInfo::min

Referenced by update(), and wrapsAround().

double MinMaxInfo::max

Referenced by update(), and wrapsAround().


The documentation for this struct was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)