COPASI API
4.40.278
|
#include <CLBase.h>
Public Member Functions | |
CLPoint () | |
CLPoint (const C_FLOAT64 &x, const C_FLOAT64 &y, const C_FLOAT64 &z=0.0) | |
CLPoint (const Point &p) | |
C_FLOAT64 | dot (const CLPoint &rhs) const |
Point | getSBMLPoint () const |
C_FLOAT64 & | getX () |
const C_FLOAT64 & | getX () const |
C_FLOAT64 & | getY () |
const C_FLOAT64 & | getY () const |
C_FLOAT64 & | getZ () |
const C_FLOAT64 & | getZ () const |
bool | isEmpty () const |
virtual void | moveBy (const CLPoint &p) |
CLPoint | operator* (const double &rhs) const |
CLPoint | operator+ (const CLPoint &rhs) const |
CLPoint | operator- (const CLPoint &rhs) const |
bool | operator< (const CLPoint &rhs) const |
bool | operator== (const CLPoint &rhs) const |
void | scale (const double &scaleFactor) |
void | setX (const C_FLOAT64 &x) |
void | setY (const C_FLOAT64 &y) |
void | setZ (const C_FLOAT64 &z) |
Public Member Functions inherited from CLBase | |
CLBase () | |
CLBase (const CLBase &b) | |
CLBase (const SBase &) | |
const std::string & | getTag () const |
bool | hasTag () const |
void | setTag (const std::string &tag) |
virtual | ~CLBase () |
Protected Attributes | |
C_FLOAT64 | mX |
C_FLOAT64 | mY |
C_FLOAT64 | mZ |
Protected Attributes inherited from CLBase | |
std::string | mTag |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CLPoint &p) |
This class describes a Point in a layout It is 2-dimensional at the moment
|
inline |
Referenced by operator*(), operator+(), and operator-().
CLPoint::CLPoint | ( | const Point & | p | ) |
constructor from libsbml object
Referenced by CCopasiSpringLayout::finalizeState().
|
inline |
References mX.
Referenced by CCopasiSpringLayout::borderProjection(), CLLayoutRenderer::calculate_intersection(), CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), CLCurve::calculateBoundingBox(), CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::distance(), CLLayoutRenderer::draw_cap(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_datapoints(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_image(), CLLayoutRenderer::draw_layout(), CLLayoutRenderer::draw_polygon(), CLLayoutRenderer::draw_rectangle(), CLLayoutRenderer::draw_selection_box(), CLLayoutRenderer::draw_text(), CCopasiSpringLayout::finalizeState(), CLBoundingBox::getCenter(), CLLayoutRenderer::getCurveBoundingBox(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), CLBoundingBox::getSBMLBoundingBox(), CLGraphicalObject::getX(), CLLayoutRenderer::is_curve_segment_visible(), CLLayoutRenderer::isSegmentHit(), CLLayoutRenderer::map_arrow_head(), CLLayoutRenderer::move_curve_object(), CLLayoutRenderer::move_graphical_object(), CLLayoutRenderer::move_reaction_glyph(), CLLayoutRenderer::move_species_glyph(), randomlyPlaceGlyphInCompartmentGlyph(), CCopasiXML::savePosition(), and CLLineEnding::toSBML().
|
inline |
References mY.
Referenced by CCopasiSpringLayout::borderProjection(), CLLayoutRenderer::calculate_intersection(), CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), CLCurve::calculateBoundingBox(), CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::distance(), CLLayoutRenderer::draw_cap(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_datapoints(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_image(), CLLayoutRenderer::draw_layout(), CLLayoutRenderer::draw_polygon(), CLLayoutRenderer::draw_rectangle(), CLLayoutRenderer::draw_selection_box(), CLLayoutRenderer::draw_text(), CCopasiSpringLayout::finalizeState(), CLBoundingBox::getCenter(), CLLayoutRenderer::getCurveBoundingBox(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), CLBoundingBox::getSBMLBoundingBox(), CLGraphicalObject::getY(), CLLayoutRenderer::is_curve_segment_visible(), CLLayoutRenderer::isSegmentHit(), CLLayoutRenderer::map_arrow_head(), CLLayoutRenderer::move_curve_object(), CLLayoutRenderer::move_graphical_object(), CLLayoutRenderer::move_reaction_glyph(), CLLayoutRenderer::move_species_glyph(), randomlyPlaceGlyphInCompartmentGlyph(), and CCopasiXML::savePosition().
|
inline |
References mZ.
Referenced by CLLayoutRenderer::calculate_intersection(), CLayout::calculateAndAssignBounds(), CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::draw_cap(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_image(), CLLayoutRenderer::draw_polygon(), CLLayoutRenderer::draw_rectangle(), CLLayoutRenderer::draw_text(), CLLayoutRenderer::is_curve_segment_visible(), and CLLayoutRenderer::map_arrow_head().
|
inline |
Referenced by CLBoundingBox::isEmpty(), and CLayout::moveBy().
|
inlinevirtual |
Reimplemented from CLBase.
Referenced by CLBoundingBox::moveBy(), and CLCurve::moveBy().
|
inline |
Referenced by CCopasiSpringLayout::finalizeState(), CLBoundingBox::scale(), and CLLineSegment::scale().
|
inline |
|
inline |
|
inline |
References mZ.
Referenced by CLLayoutRenderer::is_curve_segment_visible(), and PointHandler::processStart().
|
friend |
insert operator
|
protected |
Referenced by dot(), getSBMLPoint(), getX(), isEmpty(), moveBy(), operator+(), operator-(), operator<(), operator==(), scale(), and setX().
|
protected |
Referenced by dot(), getSBMLPoint(), getY(), isEmpty(), moveBy(), operator+(), operator-(), operator<(), operator==(), scale(), and setY().
|
protected |
Referenced by dot(), getSBMLPoint(), getZ(), isEmpty(), moveBy(), operator+(), operator-(), operator<(), operator==(), and setZ().