Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <Line.hpp>
Classes | |
struct | DefaultValues |
struct | Keys |
struct | Sections |
Public Member Functions | |
Line () | |
Line (iv::math::geometry::Point2d start, iv::math::geometry::Point2d end) | |
Line (const Line &other) | |
~Line ()=default | |
bool | load (const iv::file::xml::node &nodeLine) |
bool | save (iv::file::xml::node &nodeLine) const |
void | draw (IGraphics *graphics, std::optional< iv::types::color > colorState) const |
void | move (double dx, double dy) |
Public Attributes | |
iv::types::color | m_color |
iv::types::width | m_lineWidth |
iv::math::geometry::Point2d | m_start |
iv::math::geometry::Point2d | m_end |
double | length |
iv::mimics::support::Line::Line | ( | ) |
iv::mimics::support::Line::Line | ( | iv::math::geometry::Point2d | start, |
iv::math::geometry::Point2d | end ) |
iv::mimics::support::Line::Line | ( | const Line & | other | ) |
|
default |
void iv::mimics::support::Line::draw | ( | IGraphics * | graphics, |
std::optional< iv::types::color > | colorState ) const |
bool iv::mimics::support::Line::load | ( | const iv::file::xml::node & | nodeLine | ) |
void iv::mimics::support::Line::move | ( | double | dx, |
double | dy ) |
bool iv::mimics::support::Line::save | ( | iv::file::xml::node & | nodeLine | ) | const |
double iv::mimics::support::Line::length |
iv::types::color iv::mimics::support::Line::m_color |
iv::math::geometry::Point2d iv::mimics::support::Line::m_end |
iv::types::width iv::mimics::support::Line::m_lineWidth |
iv::math::geometry::Point2d iv::mimics::support::Line::m_start |