Files
envi-code/SourceCode/Code2026/tg_shs/shs_geLib/TGGeCurve.cpp
T
2026-09-28 15:28:50 +08:00

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;
}