Open3D (C++ API)  0.18.0
Public Member Functions | Data Fields
open3d::visualization::gui::Rect Struct Reference

#include <Gui.h>

Public Member Functions

 Rect ()
 
 Rect (int x_, int y_, int w_, int h_)
 
int GetTop () const
 
int GetBottom () const
 
int GetLeft () const
 
int GetRight () const
 
bool Contains (int x, int y) const
 
bool Contains (const Point &pt) const
 
Rect UnionedWith (const Rect &r) const
 
bool operator== (const Rect &other) const
 
bool operator!= (const Rect &other) const
 

Data Fields

int x
 
int y
 
int width
 
int height
 

Constructor & Destructor Documentation

◆ Rect() [1/2]

open3d::visualization::gui::Rect::Rect ( )

◆ Rect() [2/2]

open3d::visualization::gui::Rect::Rect ( int  x_,
int  y_,
int  w_,
int  h_ 
)

Member Function Documentation

◆ Contains() [1/2]

bool open3d::visualization::gui::Rect::Contains ( const Point pt) const

◆ Contains() [2/2]

bool open3d::visualization::gui::Rect::Contains ( int  x,
int  y 
) const

◆ GetBottom()

int open3d::visualization::gui::Rect::GetBottom ( ) const

◆ GetLeft()

int open3d::visualization::gui::Rect::GetLeft ( ) const

◆ GetRight()

int open3d::visualization::gui::Rect::GetRight ( ) const

◆ GetTop()

int open3d::visualization::gui::Rect::GetTop ( ) const

◆ operator!=()

bool open3d::visualization::gui::Rect::operator!= ( const Rect other) const

◆ operator==()

bool open3d::visualization::gui::Rect::operator== ( const Rect other) const

◆ UnionedWith()

Rect open3d::visualization::gui::Rect::UnionedWith ( const Rect r) const

Field Documentation

◆ height

int open3d::visualization::gui::Rect::height

◆ width

int open3d::visualization::gui::Rect::width

◆ x

int open3d::visualization::gui::Rect::x

◆ y

int open3d::visualization::gui::Rect::y

The documentation for this struct was generated from the following files: