43 geometricType_(
"empty"),
50 geometricSurfacePatch::geometricSurfacePatch
52 const word& geometricType,
57 geometricType_(geometricType),
62 if (geometricType_.empty())
64 geometricType_ =
"empty";
70 geometricSurfacePatch::geometricSurfacePatch(Istream& is,
const label index)
76 if (geometricType_.empty())
78 geometricType_ =
"empty";
84 geometricSurfacePatch::geometricSurfacePatch
87 const dictionary&
dict,
95 if (geometricType_.empty())
97 geometricType_ =
"empty";
108 <<
nl << geometricType_;
112 void geometricSurfacePatch::writeDict(Ostream& os)
const
114 os <<
" geometricType " << geometricType_ <<
';' <<
nl;
123 return !(*
this ==
p);
132 (geometricType() ==
p.geometricType())
133 && (
name() ==
p.name())
140 Istream&
operator>>(Istream& is, geometricSurfacePatch& gp)
142 is >> gp.
name_ >> gp.geometricType_;
148 Ostream&
operator<<(Ostream& os,
const geometricSurfacePatch& gp)
153 "Ostream& operator<<(Ostream& f, const geometricSurfacePatch& gp)"