/*
///////////////////////////////////////////////////////////////////////////////////////////////////
// Description : LinkLine.hpp
//   
//  Definition of the link editors objects            
//
///////////////////////////////////////////////////////////////////////////////////////////////////
// inherit from  :	Link
///////////////////////////////////////////////////////////////////////////////////////////////////
// Creation date: 29 jan 1997                        Author: J Thénoz
///////////////////////////////////////////////////////////////////////////////////////////////////
// Modification date:			                      Author: 
// 
//
// 
//
///////////////////////////////////////////////////////////////////////////////////////////////////
*/

//ANNECY Shaitan Nettoyage (12/05/98) {
/*


#ifndef __LinkLine_HPP__
#define __LinkLine_HPP__


class LinkLine : public Link
{
protected:	
	static char ms_cType;						// type of link 
	static char ms_szName [10];					// name of the link
	GLI_tdxValue m_xLBeam;						// grahpical dim of the link

public:
	static void fn_vRegisterObject (void);	// this function is used to register this object
	static Link* fn_pConstruct ( CPA_ObjectDLLBase* p_oDLL, CPA_BaseObject *p_oOwner, WP_tdhLink hLink) {	if (hLink) return new LinkLine ( p_oDLL, p_oOwner, hLink); 
																																			else return new LinkLine ( p_oDLL, p_oOwner ); }
	
	LinkLine ( CPA_ObjectDLLBase *p_oDLL, CPA_BaseObject *p_oOwner, WP_tdhLink hLink );
	LinkLine ( CPA_ObjectDLLBase *p_oDLL, CPA_BaseObject *p_oOwner );
	char fn_cGetType (void) { return ms_cType; }
	char* fn_pGetName (void) { return ms_szName; }

	void fn_vConstructGraphic (void);
	void fn_vRotationGraphic (BOOL bRotation);	
	void fn_vDrawNormal (void);
	void fn_vGetSaveInfo ( char dszParam [20][20], long& lNbParam );
	void fn_vSetWaypoints ( WayPoint* poFirstWP, WayPoint* poSecondWP );


protected :
	// Line graphic
	CPA_SuperObject* fn_vLineGraphic (MTH3D_tdstVector *pstVertex1, MTH3D_tdstVector *pstVertex2, char* szName, tdeLocalColor color = E_lc_NoColor );
	void fn_vModifLineGraphic (CPA_SuperObject* psoLine, MTH3D_tdstVector *pstVertex1, MTH3D_tdstVector *pstVertex2 );

};

#endif

*/
//ENDANNECY Shaitan Nettoyage }
