63 Ostream&
operator<<(Ostream&,
const edgeMesh&);
89 void calcPointEdges()
const;
238 virtual void clear();
A simple container for copying or transferring objects of type <T>.
void transfer(edgeMesh &)
Transfer the contents of the argument and annul the argument.
A HashTable with keys but without contents.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
static bool canReadType(const word &ext, const bool verbose=false)
Can we read this file format?
edgeList & storedEdges()
Non-const access to the edges.
bool read(const fileName &, const word &ext)
Read from file. Chooses reader based on explicit extension.
virtual void mergePoints(const scalar mergeDist, labelList &)
Merge common points (points within mergeDist). Return map from.
static autoPtr< edgeMesh > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void scalePoints(const scalar)
Scale points. A non-positive factor is ignored.
static bool canRead(const fileName &, const bool verbose=false)
Can we read this file format?
Xfer< edgeMesh > xfer()
Transfer contents to the Xfer container.
void operator=(const edgeMesh &)
pointField & storedPoints()
Non-const access to global points.
edgeMesh()
Construct null.
friend Istream & operator>>(Istream &, edgeMesh &)
static wordHashSet writeTypes()
declareMemberFunctionSelectionTable(void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh),(name, mesh))
const labelListList & pointEdges() const
Return edges.
declareRunTimeSelectionTable(autoPtr, edgeMesh, fileExtension,(const fileName &name),(name))
A class for handling words, derived from string.
Istream & operator>>(Istream &, directionInfo &)
const edgeList & edges() const
Return edges.
static wordHashSet readTypes()
friend Ostream & operator<<(Ostream &, const edgeMesh &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const pointField & points() const
Return points.
Points connected by edges.
virtual void writeStats(Ostream &) const
virtual void reset(const Xfer< pointField > &points, const Xfer< edgeList > &edges)
Reset primitive data (points, edges)
word name(const complex &)
Return a string representation of a complex.
virtual void clear()
Clear all storage.
virtual void mergeEdges()
Merge duplicate edges.
Ostream & operator<<(Ostream &, const ensightPart &)
static void write(const fileName &, const edgeMesh &)
Write to file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
label regions(labelList &edgeRegion) const
Find connected regions. Set region number per edge.
TypeName("edgeMesh")
Runtime type information.
virtual ~edgeMesh()
Destructor.
static bool canWriteType(const word &ext, const bool verbose=false)
Can we write this file format type?