Moka libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Inequation Class Reference

#include <inequation.hh>

Public Member Functions

 Inequation ()
 
 Inequation (float pa, float pb, float pc, float pw)
 
float GetA () const
 
float GetB () const
 
float GetC () const
 
float GetW () const
 
bool Is_Strict () const
 
bool Is_Used () const
 
int Get_Dim () const
 
void SetA (float pa)
 
void SetB (float pb)
 
void SetC (float pc)
 
void SetW (float pw)
 
void SetAbcw (float pa, float pb, float pc, float pw)
 
void Set_Strict ()
 
void Unset_Strict ()
 
void Set_Used ()
 
void Set_Unused ()
 
bool Test_Point (CVertex const &pt) const
 
bool Test_Point_Eq (CVertex const &pt) const
 
CVertex * Intersec (Inequation const &i1, Inequation const &i2)
 
bool operator== (Inequation i) const
 
bool operator!= (Inequation i) const
 

Friends

std::ostream & operator<< (std::ostream &s, Inequation const &i)
 
Inequationoperator>> (std::ostream &s, Inequation &i)
 

Detailed Description

Definition at line 48 of file inequation.hh.

Constructor & Destructor Documentation

Inequation::Inequation ( )
inline

Definition at line 128 of file inequation.hh.

Inequation::Inequation ( float  pa,
float  pb,
float  pc,
float  pw 
)
inline

Definition at line 133 of file inequation.hh.

Member Function Documentation

int Inequation::Get_Dim ( ) const
inline

Definition at line 178 of file inequation.hh.

float Inequation::GetA ( ) const
inline

Definition at line 140 of file inequation.hh.

float Inequation::GetB ( ) const
inline

Definition at line 146 of file inequation.hh.

float Inequation::GetC ( ) const
inline

Definition at line 152 of file inequation.hh.

float Inequation::GetW ( ) const
inline

Definition at line 158 of file inequation.hh.

CVertex * Inequation::Intersec ( Inequation const &  i1,
Inequation const &  i2 
)
inline

Definition at line 294 of file inequation.hh.

bool Inequation::Is_Strict ( ) const
inline

Definition at line 164 of file inequation.hh.

bool Inequation::Is_Used ( ) const
inline

Definition at line 170 of file inequation.hh.

bool Inequation::operator!= ( Inequation  i) const
inline

Definition at line 721 of file inequation.hh.

bool Inequation::operator== ( Inequation  i) const
inline

Definition at line 668 of file inequation.hh.

void Inequation::Set_Strict ( )
inline

Definition at line 233 of file inequation.hh.

void Inequation::Set_Unused ( )
inline

Definition at line 251 of file inequation.hh.

void Inequation::Set_Used ( )
inline

Definition at line 245 of file inequation.hh.

void Inequation::SetA ( float  pa)
inline

Definition at line 200 of file inequation.hh.

void Inequation::SetAbcw ( float  pa,
float  pb,
float  pc,
float  pw 
)
inline

Definition at line 224 of file inequation.hh.

void Inequation::SetB ( float  pb)
inline

Definition at line 206 of file inequation.hh.

void Inequation::SetC ( float  pc)
inline

Definition at line 212 of file inequation.hh.

void Inequation::SetW ( float  pw)
inline

Definition at line 218 of file inequation.hh.

bool Inequation::Test_Point ( CVertex const &  pt) const
inline

Definition at line 260 of file inequation.hh.

bool Inequation::Test_Point_Eq ( CVertex const &  pt) const
inline

Definition at line 282 of file inequation.hh.

void Inequation::Unset_Strict ( )
inline

Definition at line 239 of file inequation.hh.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
Inequation const &  i 
)
friend

Definition at line 729 of file inequation.hh.

Inequation& operator>> ( std::ostream &  s,
Inequation i 
)
friend

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