3ds Max C++ API Reference
FBox2 Struct Reference

#include <box2.h>

Public Member Functions

bool IsEmpty ()
 
void SetEmpty ()
 
FBox2operator= (const FBox2 &r)
 
FBox2operator+= (const Point2 &p)
 
FBox2operator+= (const FBox2 &b)
 
bool Contains (const Point2 &p) const
 

Public Attributes

Point2 pmin
 
Point2 pmax
 

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( )
inline
202  {
203  return pmin.x > pmax.x ? 1 : 0;
204  }
float x
Definition: point2.h:40
Point2 pmax
Definition: box2.h:200
Point2 pmin
Definition: box2.h:199

◆ SetEmpty()

void SetEmpty ( )
inline
206  {
207  pmin = Point2(1E30, 1E30);
208  pmax = -pmin;
209  }
Definition: point2.h:38

◆ operator=()

FBox2& operator= ( const FBox2 r)
inline
211  {
212  pmin = r.pmin;
213  pmax = r.pmax;
214  return *this;
215  }

◆ operator+=() [1/2]

FBox2& operator+= ( const Point2 p)

◆ operator+=() [2/2]

FBox2& operator+= ( const FBox2 b)

◆ Contains()

bool Contains ( const Point2 p) const

Member Data Documentation

◆ pmin

Point2 pmin

◆ pmax

Point2 pmax