Chrysalis - Pattern
Loading...
Searching...
No Matches
Chrysalis::LineArgument Class Reference

#include <LineArgument.h>

Inheritance diagram for Chrysalis::LineArgument:
[legend]
Collaboration diagram for Chrysalis::LineArgument:
[legend]

Public Member Functions

 LineArgument (const args::point *origin, args::number &&angle)
virtual ~LineArgument ()
virtual bool isValid () const
const args::number & angle () const
const args::point * origin () const
 operator CG::Line () const

Protected Member Functions

 LineArgument (const args::point *origin, const args::point *destination)

Protected Attributes

const args::point * origin_
args::number angle_

Friends

template<class Archive>
void serialize (Archive &archive, LineArgument &project, const unsigned int version)
template<class Archive>
void save_construct_data (Archive &archive, const LineArgument *obj, const unsigned int)
template<class Archive>
void load_construct_data (Archive &archive, LineArgument *obj, const unsigned int)

Constructor & Destructor Documentation

◆ LineArgument() [1/2]

LineArgument::LineArgument ( const args::point * origin,
const args::point * destination )
explicitprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LineArgument() [2/2]

LineArgument::LineArgument ( const args::point * origin,
args::number && angle )
explicit
Here is the call graph for this function:

◆ ~LineArgument()

LineArgument::~LineArgument ( )
virtual

Member Function Documentation

◆ angle()

const args::number & LineArgument::angle ( ) const
nodiscard
Here is the caller graph for this function:

◆ isValid()

bool LineArgument::isValid ( ) const
nodiscardvirtual

Reimplemented in Chrysalis::VectorArgument.

Here is the caller graph for this function:

◆ operator CG::Line()

LineArgument::operator CG::Line ( ) const
explicit
Here is the call graph for this function:

◆ origin()

const args::point * LineArgument::origin ( ) const
nodiscard
Here is the caller graph for this function:

◆ load_construct_data

template<class Archive>
void load_construct_data ( Archive & archive,
LineArgument * obj,
const unsigned int  )
friend

◆ save_construct_data

template<class Archive>
void save_construct_data ( Archive & archive,
const LineArgument * obj,
const unsigned int  )
friend

◆ serialize

template<class Archive>
void serialize ( Archive & archive,
LineArgument & project,
const unsigned int version )
friend

Member Data Documentation

◆ angle_

args::number Chrysalis::LineArgument::angle_
protected

◆ origin_

const args::point* Chrysalis::LineArgument::origin_
protected

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