Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +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;
}