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


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


 GfRange1f (float min, float max) 
 This constructor initializes the minimum and maximum points. More...


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


GfRange1f &  operator *= (double m) 
 unary multiply. More...


GfRange1f &  operator/= (double m) 
 unary division. More...


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


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


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


bool  operator != (const GfRange1f &b) const 

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


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

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

