pointnode.cpp
来自「使用C++实现的Graham扫描法(求解凸包问题)」· C++ 代码 · 共 30 行
CPP
30 行
// PointNode.cpp: implementation of the CPointNode class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ConvexHull.h"
#include "PointNode.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPointNode::CPointNode(int x,int y)
{
point.x=x;
point.y=y;
next=NULL;
}
CPointNode::~CPointNode()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?