#include "stdafx.h"
#include "3ObjPoint.h"		// For MC3ObjPoint.
#include "3ToolPoint.h"		// This header.

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

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif

#define SUPER_CLASS MC3ToolBaseFDA

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolPoint::MC3ToolPoint
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.16 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
MC3ToolPoint::MC3ToolPoint ()
{
	m_objpReference = NULL;		// _xZkqqHx_iDgDiBfLiDiLjDoAjFjEjFjEjFgJiBeC_xHqqkZx_
} // MC3ToolPoint::MC3ToolPoint.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolPoint::OnViewCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CDynamicDrawView::OnCreate_xZkqqHx_iCkJiCoH_xHqqkZx_Call.Tool_xZkqqHx_iCmMiPiJiKpKiJlL_xHqqkZx_.
 *************************************************************************/
void MC3ToolPoint::OnViewCreate ()
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	SUPER_CLASS::OnViewCreate();
	// _xZkqqHx_iDgDiBfLiDiLjDoAjFjEjFjEjFgJiNoMjAkMiBeC_xHqqkZx_
	m_objpReference = new MC3ObjPoint();
} // MC3ToolPoint::OnViewCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolPoint::OnViewDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CDynamicDrawView::OnDestroy_xZkqqHx_iCkJiCoH_xHqqkZx_Call.Tool_xZkqqHx_iCmMiPeJjHlJiPiIjHjN_xHqqkZx_.
 *************************************************************************/
void MC3ToolPoint::OnViewDestroy ()
{
	// _xZkqqHx_iDgDiBfLiDiLjDoAjFjEjFjEjFgJiNoNiPjMiBeC_xHqqkZx_
	delete m_objpReference;
	m_objpReference = NULL;
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	SUPER_CLASS::OnViewDestroy();
} // MC3ToolPoint::OnViewDestroy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolPoint::GetInsideObject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMjAlGjAkMiCmJiOgHjHhAiClDiCoKiCoJiDgDiBfLiDiLjDoAjFjEjFjEjFgJiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDgDiBfLiDiLjDoAjFjEjFjEjFgJiCmMiDhMiDeDiDjDiDfO_xHqqkZx_.
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCmMjFjEjFgJiCpAiOgHiCmBiCmEiBeBiDhNiDeFiDfIiInKjDkOiOjOiCmMjFgAiJoGiCoCjFjEjFgJiCmMjAlGjAkMiCpAiNhDiCkE_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.09.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
MC3ObjBase* MC3ToolPoint::GetInsideObject () const
{
	return m_objpReference;
} // MC3ToolPoint::GetInsideObject.

