74 lines
1.2 KiB
C++
74 lines
1.2 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGeCurve 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGeCurve 类定义
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "TGGeCurve.h"
|
|
|
|
TGGeCurve::TGGeCurve()
|
|
{
|
|
}
|
|
|
|
TGGeCurve::~TGGeCurve()
|
|
{
|
|
|
|
}
|
|
|
|
int TGGeCurve::GetExtend(TADSGePoint3d &ptlow, TADSGePoint3d &ptup) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
ads_real TGGeCurve::GetLength() const
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
int TGGeCurve::Make(const TCHAR *szlay) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
int TGGeCurve::MakeEntity(const TEntitySet* pEntity) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
int TGGeCurve::HitTest2d(const TADSGePoint3d &ptTest) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
int TGGeCurve::OSnap(int nMode, TADSGePoint3d &ptPick) const
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
void TGGeCurve::TransformBy(ads_matrix mat)
|
|
{
|
|
|
|
}
|
|
|
|
bool TGGeCurve::IsKindOf(TGGeEntity::TEntityId entType) const
|
|
{
|
|
switch(entType)
|
|
{
|
|
case TGGeEntity::eEntity:
|
|
case TGGeEntity::eCurve:
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
TGGeEntity::TEntityId TGGeCurve::Type() const
|
|
{
|
|
return TGGeEntity::eCurve;
|
|
}
|
|
|