39 lines
866 B
C++
39 lines
866 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGeCurveSegSegEx 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGeCurveSegSegEx 类定义
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "TGGeCurveSegSegEx.h"
|
|
|
|
TGGeCurveSegSegEx::TGGeCurveSegSegEx()
|
|
: m_bDel((Adesk::UInt8)0)
|
|
{
|
|
|
|
}
|
|
|
|
TGGeCurveSegSegEx::TGGeCurveSegSegEx(const TGGeCurveSegment &src)
|
|
: TGGeCurveSegment(src), m_bDel(0)
|
|
{
|
|
|
|
}
|
|
|
|
TGGeCurveSegSegEx::~TGGeCurveSegSegEx()
|
|
{
|
|
|
|
}
|
|
|
|
BOOL TGGeCurveSegSegEx::IsDeleted() const
|
|
{
|
|
return (int)m_bDel;
|
|
}
|
|
|
|
BOOL TGGeCurveSegSegEx::IsTooShort() const
|
|
{
|
|
return (GetLength() < _DIST_SNAP);
|
|
} |