VR-Forces 5.0.2 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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)