
void  SetEmpty () 
 Sets the range to an empty interval. More...


 GfRange1d () 
 The default constructor creates an empty range. More...


 GfRange1d (double min, double max) 
 This constructor initializes the minimum and maximum points. More...


double  GetMin () const 
 Returns the minimum value of the range. More...


double  GetMax () const 
 Returns the maximum value of the range. More...


double  GetSize () const 
 Returns the size of the range. More...


double  GetMidpoint () const 
 Returns the midpoint of the range, that is, 0.5*(min+max). More...


void  SetMin (double min) 
 Sets the minimum value of the range. More...


void  SetMax (double max) 
 Sets the maximum value of the range. More...


bool  IsEmpty () const 
 Returns whether the range is empty (max < min). More...


void  ExtendBy (double point) 
 Modifies the range if necessary to surround the given value. More...


void  ExtendBy (const GfRange1d &range) 
 Modifies the range if necessary to surround the given range. More...


bool  Contains (double point) const 
 Returns true if the point is located inside the range. More...


bool  Contains (const GfRange1d &range) const 
 Returns true if the range is located entirely inside the range. More...


bool  IsInside (double point) const 
 Returns true if the point is located inside the range. More...


bool  IsInside (const GfRange1d &range) const 
 Returns true if the range is located entirely inside the range. More...


bool  IsOutside (const GfRange1d &range) const 
 Returns true if the range is located entirely outside the range. More...


const GfRange1d &  UnionWith (const GfRange1d &b) 
 Extend this to include b . More...


const GfRange1d &  UnionWith (double b) 
 Extend this to include b . More...


const GfRange1d &  Union (const GfRange1d &b) 
 Extend this to include b . More...


const GfRange1d &  Union (double b) 
 Extend this to include b . More...


const GfRange1d &  IntersectWith (const GfRange1d &b) 
 Modifies this range to hold its intersection with b and returns the result. More...


const GfRange1d &  Intersection (const GfRange1d &b) 
 Modifies this range to hold its intersection with b and returns the result. More...


GfRange1d  operator+= (const GfRange1d &b) 
 unary sum. More...


GfRange1d  operator= (const GfRange1d &b) 
 unary difference. More...


GfRange1d  operator*= (double m) 
 unary multiply. More...


GfRange1d  operator/= (double m) 
 unary division. More...


GfRange1d  operator+ (const GfRange1d &b) const 
 binary sum. More...


GfRange1d  operator (const GfRange1d &b) const 
 binary difference. More...


bool  operator== (const GfRange1d &b) const 
 The min and max points must match exactly for equality. More...


bool  operator!= (const GfRange1d &b) const 

GF_API bool  operator== (const GfRange1f &other) const 
 Compare this range to a GfRange1f. More...


GF_API bool  operator!= (const GfRange1f &other) const 

GF_API double  GetDistanceSquared (double p) const 
 Compute the squared distance from a point to the range. More...

