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