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

#include <SegmentArgument.h>

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

Public Member Functions

 SegmentArgument (const args::point *origin, const args::point *destination)
 ~SegmentArgument () override
const args::point * destination () const
 operator CG::Segment () const override
Public Member Functions inherited from Chrysalis::VectorArgument
 VectorArgument (args::number &&angle, args::number &&length)
 VectorArgument (const args::point *origin, args::number &&length)
 VectorArgument (const args::point *origin, args::number &&angle, args::number &&length)
bool isValid () const override
const args::number & length () const
 operator CG::Vector () const
Public Member Functions inherited from Chrysalis::RayArgument
 RayArgument (const args::point *origin, args::number &&angle)
 operator CG::Ray () const
Public Member Functions inherited from Chrysalis::LineArgument
 LineArgument (const args::point *origin, args::number &&angle)
virtual ~LineArgument ()
const args::number & angle () const
const args::point * origin () const
 operator CG::Line () const

Additional Inherited Members

Protected Member Functions inherited from Chrysalis::VectorArgument
 VectorArgument (const args::point *origin, const args::point *destination)
Protected Member Functions inherited from Chrysalis::RayArgument
 RayArgument (const args::point *origin, const args::point *destination)
Protected Member Functions inherited from Chrysalis::LineArgument
 LineArgument (const args::point *origin, const args::point *destination)
Protected Attributes inherited from Chrysalis::LineArgument
const args::point * origin_
args::number angle_

Constructor & Destructor Documentation

◆ SegmentArgument()

SegmentArgument::SegmentArgument ( const args::point * origin,
const args::point * destination )
explicit
Here is the call graph for this function:

◆ ~SegmentArgument()

SegmentArgument::~SegmentArgument ( )
override

Member Function Documentation

◆ destination()

const args::point * SegmentArgument::destination ( ) const
Here is the caller graph for this function:

◆ operator CG::Segment()

SegmentArgument::operator CG::Segment ( ) const
explicitoverridevirtual

Reimplemented from Chrysalis::VectorArgument.

Here is the call graph for this function:

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