copasi API  0.1
Public Member Functions | Protected Attributes | Friends
CLPoint Class Reference

#include <CLBase.h>

Inheritance diagram for CLPoint:
CLBase

List of all members.

Public Member Functions

 CLPoint ()
 CLPoint (const C_FLOAT64 &x, const C_FLOAT64 &y)
 CLPoint (const Point &p)
const C_FLOAT64 & getX () const
const C_FLOAT64 & getY () const
C_FLOAT64 & getX ()
C_FLOAT64 & getY ()
void setX (const C_FLOAT64 &x)
void setY (const C_FLOAT64 &y)
void scale (const double &scaleFactor)
bool operator== (const CLPoint &rhs) const
bool operator< (const CLPoint &rhs) const
Point getSBMLPoint () const

Protected Attributes

C_FLOAT64 mX
C_FLOAT64 mY

Friends

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

Detailed Description

This class describes a Point in a layout It is 2-dimensional at the moment


Constructor & Destructor Documentation

CLPoint::CLPoint ( ) [inline]
CLPoint::CLPoint ( const C_FLOAT64 &  x,
const C_FLOAT64 &  y 
) [inline]
CLPoint::CLPoint ( const Point &  p)

constructor from libsbml object


Member Function Documentation

Point CLPoint::getSBMLPoint ( ) const

convert to sbml point

const C_FLOAT64& CLPoint::getX ( ) const [inline]
C_FLOAT64& CLPoint::getX ( ) [inline]
const C_FLOAT64& CLPoint::getY ( ) const [inline]
C_FLOAT64& CLPoint::getY ( ) [inline]
bool CLPoint::operator< ( const CLPoint rhs) const [inline]
bool CLPoint::operator== ( const CLPoint rhs) const [inline]
void CLPoint::scale ( const double &  scaleFactor) [inline]
void CLPoint::setX ( const C_FLOAT64 &  x) [inline]
void CLPoint::setY ( const C_FLOAT64 &  y) [inline]

Friends And Related Function Documentation

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

insert operator


Member Data Documentation

C_FLOAT64 CLPoint::mX [protected]
C_FLOAT64 CLPoint::mY [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines