#include "stdafx.h"
#include "2ObjWidePoly.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//SUPER_CLASS
#define SUPER_CLASS MC2ObjPoly

////////////////////////////////////////////////////////////////////////////
// MC2ObjWidePoly_xZkqqHx_iDiBiDjDiDgPiKnGjAjEiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2ObjWidePoly::MC2ObjWidePoly
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.06.08 Fukushiro M. _xZkqqHx_iNoMjAkMiBeC_xHqqkZx_
 *************************************************************************/
MC2ObjWidePoly::MC2ObjWidePoly ()
{
	m_mmWidthF = 4.0;	// _xZkqqHx_iKeKiOgOjDfPiCmMjBnBiCmMjFjNiBeC_xHqqkZx_
	m_mmWidthB = 4.0;	// _xZkqqHx_iPeJjHlJjDfPiCmMjBnBiCmMjFjNiBeC_xHqqkZx_
	m_nWidthSlopeF = 0;		// _xZkqqHx_iKeKiOgOjDfPiCmMiMfIiOmOiBeC_xHqqkZx_[0, 10000]_xZkqqHx_iBeC_xHqqkZx_
	m_nWidthSlopeB = 0;		// _xZkqqHx_iPeJjHlJjDfPiCmMiMfIiOmOiBeC_xHqqkZx_[0, 10000]_xZkqqHx_iBeC_xHqqkZx_
} // MC2ObjWidePoly::MC2ObjWidePoly.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2ObjWidePoly::Type
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iClBiCmMjFjEjFgJiCmMiMfOiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiMfO_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.06.08 Fukushiro M. _xZkqqHx_iNoMjAkMiBeC_xHqqkZx_
 *************************************************************************/
FTObjectType MC2ObjWidePoly::Type () const
{
	return FDOJ_WIDE_POLY;
} // MC2ObjWidePoly::Type.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2ObjWidePoly::OutStreamV3
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCmJiPjBiCkLiPgPiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_iPjBiCkLiPgPiClFjHhAiCmM_xHqqkZx_MCARCHIVE
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.06.08 Fukushiro M. _xZkqqHx_iNoMjAkMiBeC_xHqqkZx_
 *************************************************************************/
void MC2ObjWidePoly::OutStreamV3 (MCARCHIVE& ar)
{
	SUPER_CLASS::OutStreamV3(ar);
	ar << m_mmWidthF;		// _xZkqqHx_jGoOiIpDiCmMjFjNiBeC_xHqqkZx_
	ar << m_mmWidthB;		// _xZkqqHx_jGoOiIpDiCmMjFjNiBeC_xHqqkZx_
	ar << m_nWidthSlopeF;	// _xZkqqHx_iKeKiOgOjDfPiCmMiMfIiOmOiBeC_xHqqkZx_[0, 10000]_xZkqqHx_iBeC_xHqqkZx_
	ar << m_nWidthSlopeB;	// _xZkqqHx_iPeJjHlJjDfPiCmMiMfIiOmOiBeC_xHqqkZx_[0, 10000]_xZkqqHx_iBeC_xHqqkZx_
} // MC2ObjWidePoly::OutStreamV3.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2ObjWidePoly::InStreamV12
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCkJiCoHjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_jDmHiCnNiNjOiCnNjHhAiCmM_xHqqkZx_MCARCHIVE
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.06.08 Fukushiro M. _xZkqqHx_iNoMjAkMiBeC_xHqqkZx_
 *************************************************************************/
void MC2ObjWidePoly::InStreamV12 (MCARCHIVE& ar)
{
	SUPER_CLASS::InStreamV12(ar);
	ar >> m_mmWidthF;		// _xZkqqHx_jGoOiIpDiCmMjFjNiBeC_xHqqkZx_
	m_mmWidthB = m_mmWidthF;
	m_nWidthSlopeF = 0;
	m_nWidthSlopeB = 0;
} // MC2ObjWidePoly::InStreamV12.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2ObjWidePoly::IsClosePolygon
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	NewObjPolygon_xZkqqHx_iCkKjFnEiClHiDhMiDiKiDfDiDjDiCkKjFmCiClGiCmEiCkCiCoJiCkJiCmHiCkEiCkJiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL MC2ObjWidePoly::IsClosePolygon () const
{
	return TRUE;
} // MC2ObjWidePoly::IsClosePolygon.
