|
// Conic.cpp: implementation of the CConic class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Conic.h"
#include "MMath.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CConic::CConic()
{
}
CConic::~CConic()
{
}
void CConic::Reverse()
{
CVector3D V = itsLocation.GetDirection();
V *= -1;
itsLocation.SetDirection(V);
}
void CConic::SetLocation(const CAxisSystem& ax)
{
itsLocation = ax;
}
|
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.