You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
662 B
C++
35 lines
662 B
C++
#pragma once
|
|
#include "XJPoint2D.h"
|
|
#include <vector>
|
|
#include <list>
|
|
#include <set>
|
|
#include <string>
|
|
|
|
|
|
class FaultPline
|
|
{
|
|
public:
|
|
FaultPline(void);
|
|
virtual ~FaultPline(void);
|
|
|
|
//Ãû³Æ¡¢±êʶ
|
|
void SetName(const std::string& name) { m_name = name; }
|
|
const std::string& GetName() const { return m_name; }
|
|
|
|
void SetPath(const std::vector<Point2D>& path);
|
|
|
|
const std::vector<Point2D>& GetPath() const {return m_path;}
|
|
|
|
//ÊÇ·ñ±ÕºÏ
|
|
void SetColsed(bool flag) { m_bClosed = flag; }
|
|
bool IsClosed() const { return m_bClosed; }
|
|
private:
|
|
std::string m_name;
|
|
std::vector<Point2D> m_path;
|
|
bool m_bClosed;
|
|
};
|
|
|
|
|
|
|
|
|
|
|