levelz-cpp 0.2.0
Loading...
Searching...
No Matches
LevelZ::Coordinate Struct Referenceabstract

#include <coordinate.hpp>

Inheritance diagram for LevelZ::Coordinate:
LevelZ::Coordinate2D LevelZ::Coordinate3D

Public Member Functions

virtual std::string to_string () const =0
 
virtual double getMagnitude () const =0
 

Detailed Description

Represents a LevelZ Coordinate.

Member Function Documentation

◆ getMagnitude()

virtual double LevelZ::Coordinate::getMagnitude ( ) const
pure virtual

Gets the magnitude of the coordinate.

Returns
Coordinate Magnitude

Implemented in LevelZ::Coordinate2D, and LevelZ::Coordinate3D.

◆ to_string()

virtual std::string LevelZ::Coordinate::to_string ( ) const
pure virtual

Converts this coordinate to a string.

Returns
The string representation of the coordinate.

Implemented in LevelZ::Coordinate2D, and LevelZ::Coordinate3D.


The documentation for this struct was generated from the following file: