VR-Forces 4.10 Class Documentation
 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 More...

Public Member Functions

void update (const DtPoint &p)
 update min and max values More...
 
bool wrapsAround (double width) const
 check is points analyzed so far indicate shape wraps around the world More...
 
 MinMaxInfo ()
 

Public Attributes

double min
 
double max
 

Detailed Description

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

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 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)