|
// Curve.cpp: implementation of the CCurve class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Curve2D.h"
#include "MMath.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCurve2D::CCurve2D()
{
cReversed = false;
geomType = CCURVE2D;
}
CCurve2D::~CCurve2D()
{
}
Curve2DType CCurve2D::Type() const
{
return cType;
}
bool CCurve2D::IsOfType(const Curve2DType& type) const
{
Curve2DType 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.