COPASI API  4.16.103
Macros | Functions
CLBase.cpp File Reference
#include <sbml/packages/layout/sbml/BoundingBox.h>
#include "CLBase.h"
Include dependency graph for CLBase.cpp:

Go to the source code of this file.

Macros

#define USE_LAYOUT   1
 

Functions

std::ostream & operator<< (std::ostream &os, const CLPoint &p)
 
std::ostream & operator<< (std::ostream &os, const CLDimensions &d)
 
std::ostream & operator<< (std::ostream &os, const CLBoundingBox &bb)
 

Macro Definition Documentation

#define USE_LAYOUT   1

Definition at line 15 of file CLBase.cpp.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CLPoint p 
)

insert operator

Definition at line 68 of file CLBase.cpp.

References CLPoint::mX, and CLPoint::mY.

69 {
70  os << "(x=" << p.mX << ", y=" << p.mY << ")";
71  return os;
72 }
C_FLOAT64 mY
Definition: CLBase.h:58
C_FLOAT64 mX
Definition: CLBase.h:58
std::ostream& operator<< ( std::ostream &  os,
const CLDimensions d 
)

insert operator

Definition at line 74 of file CLBase.cpp.

References CLDimensions::mHeight, and CLDimensions::mWidth.

75 {
76  os << "(w=" << d.mWidth << ", h=" << d.mHeight << ")";
77  return os;
78 }
C_FLOAT64 mWidth
Definition: CLBase.h:185
C_FLOAT64 mHeight
Definition: CLBase.h:185
std::ostream& operator<< ( std::ostream &  os,
const CLBoundingBox bb 
)

insert operator

Definition at line 80 of file CLBase.cpp.

References CLBoundingBox::mDimensions, and CLBoundingBox::mPosition.

81 {
82  os << "[" << bb.mPosition << bb.mDimensions << "]";
83  return os;
84 }
CLPoint mPosition
Definition: CLBase.h:248
CLDimensions mDimensions
Definition: CLBase.h:250