|
// Curve.cpp: implementation of the CCurve class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Curve.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCurve::CCurve()
{
cReversed = false;
geomType = CCURVE;
}
CCurve::~CCurve()
{
}
CurveType CCurve::Type() const
{
return cType;
}
bool CCurve::IsOfType(const CurveType& type) const
{
CurveType typ = type;
bool b = (cType == typ);
return b;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.