Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
nm::SignalType Class Reference

Describes a the dimensionality of a signal Can be extended to include other type information such as distinctions between doubles, flots and ints as well. More...

#include <signaltype.hpp>

Public Member Functions

 SignalType (int dimensions)
 
bool operator== (const SignalType &rhs) const
 
bool operator!= (const SignalType &rhs) const
 
bool isConvertibleTo (const SignalType &rhs) const
 Checks if this SignalType can be converted to another. More...
 

Public Attributes

const int dimensionality
 

Detailed Description

Describes a the dimensionality of a signal Can be extended to include other type information such as distinctions between doubles, flots and ints as well.

Member Function Documentation

bool nm::SignalType::isConvertibleTo ( const SignalType rhs) const

Checks if this SignalType can be converted to another.

Parameters
SignalTypeto convert to
Returns

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