OR-Tools  9.6
Rectangle

Detailed Description

Definition at line 37 of file diffn_util.h.

Public Member Functions

void TakeUnionWith (const Rectangle &other)
 
IntegerValue Area () const
 
bool IsDisjoint (const Rectangle &other) const
 
std::string DebugString () const
 

Public Attributes

IntegerValue x_min
 
IntegerValue x_max
 
IntegerValue y_min
 
IntegerValue y_max
 

Member Function Documentation

◆ Area()

IntegerValue Area ( ) const
inline

Definition at line 50 of file diffn_util.h.

◆ DebugString()

std::string DebugString ( ) const
inline

Definition at line 54 of file diffn_util.h.

◆ IsDisjoint()

bool IsDisjoint ( const Rectangle &  other) const

Definition at line 36 of file diffn_util.cc.

◆ TakeUnionWith()

void TakeUnionWith ( const Rectangle &  other)
inline

Definition at line 43 of file diffn_util.h.

Member Data Documentation

◆ x_max

IntegerValue x_max

Definition at line 39 of file diffn_util.h.

◆ x_min

IntegerValue x_min

Definition at line 38 of file diffn_util.h.

◆ y_max

IntegerValue y_max

Definition at line 41 of file diffn_util.h.

◆ y_min

IntegerValue y_min

Definition at line 40 of file diffn_util.h.


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