⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t_line.cpp

📁 tin的生成,速度非常快.TIN10000point只用1分36秒
💻 CPP
字号:
// T_line.cpp: implementation of the T_line class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "tin2.h"
#include "T_line.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

T_line::T_line()
{
	p0=-1;
	p1=-1;
	useCount=0;

}

T_line::~T_line()
{

}

bool operator==(T_line line0,T_line line1)
{
	if(line0.p0==line1.p0&&line0.p1==line1.p1)
		return true;
	if(line0.p0==line1.p1&&line0.p1==line1.p0)
		return true;
	return false;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -