20 #ifndef __TY_COURBENIVEAU__
21 #define __TY_COURBENIVEAU__
74 virtual bool deepCopy(
const TYElement* pOther,
bool copyId =
true,
bool pUseCopyTag =
false);
76 virtual std::string
toString()
const;
131 void close(
bool closed);
std::vector< LPTYCourbeNiveauGeoNode > TYTabCourbeNiveauGeoNode
Collection de noeuds geometriques de type TYCourbeNiveau.
TYGeometryNode TYCourbeNiveauGeoNode
Noeud geometrique de type TYCourbeNiveau.
SmartPtr< TYCourbeNiveauGeoNode > LPTYCourbeNiveauGeoNode
Smart Pointer sur TYCourbeNiveauGeoNode.
std::vector< TYPoint > TYTabPoint
Collection de TYPoint.
#define TY_EXT_GRAPHIC_DECL_ONLY(classname)
#define OPROTODECL(classname)
#define TY_EXTENSION_DECL_ONLY(classname)
bool operator!=(const TYCourbeNiveau &other) const
Operateur !=.
LPTYCourbeNiveau split(const TYPoint &pt)
return a new level curve by spliting the actual one at indicated point
virtual ~TYCourbeNiveau()
virtual int fromXML(DOM_Element domElement)
virtual DOM_Element toXML(DOM_Element &domElement)
TYCourbeNiveau & operator=(const TYCourbeNiveau &other)
Operateur =.
double _altitude
Altitude.
void setListPoints(const TYTabPoint &pts)
double getAltitude() const
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
const TYTabPoint & getListPoints() const
void addPoint(double x, double y, double z=0.0)
TYTabPoint _listPoints
Liste de points.
void restructure(TYTabPoint::iterator itPt)
static double getDefaultDistMax()
virtual void updateColor()
void addPoint(const TYPoint &pt)
virtual std::string toString() const
static void setDefaultDistMax(const double &val)
static double _defaultDistMax
const bool getIsDMaxDefault() const
void setDistMax(const double dist)
TYTabPoint::iterator getPointRef(const TYPoint &pt)
return an iterator to the curve point closest to the point passed
virtual void setIsGeometryModified(bool isModified)
TYTabPoint & getListPoints()
bool operator==(const TYCourbeNiveau &other) const
Operateur ==.
static double setDefaultDistMax()
void setAltitude(double alt)
void applyAlitudeToPoints()
void setIsDMaxDefault(const bool &etat)
static void updateDefaultDistMax()