27 #ifndef _SMESH_ProjectionSource2D_HXX_
28 #define _SMESH_ProjectionSource2D_HXX_
35 #include <TopoDS_Vertex.hxx>
58 void SetSourceFace(
const TopoDS_Shape& face)
64 TopoDS_Shape GetSourceFace()
const;
70 {
return !_sourceFace.IsNull() && _sourceFace.ShapeType() == TopAbs_COMPOUND; }
87 void SetVertexAssociation(
const TopoDS_Shape& sourceVertex1,
88 const TopoDS_Shape& sourceVertex2,
89 const TopoDS_Shape& targetVertex1,
90 const TopoDS_Shape& targetVertex2)
112 {
return ( !_sourceVertex1.IsNull() && !_targetVertex1.IsNull() &&
113 !_sourceVertex2.IsNull() && !_targetVertex2.IsNull()); }
118 void GetStoreParams(TopoDS_Shape& s1,
122 TopoDS_Shape& s5)
const;
127 void RestoreParams(
const TopoDS_Shape& s1,
128 const TopoDS_Shape& s2,
129 const TopoDS_Shape& s3,
130 const TopoDS_Shape& s4,
131 const TopoDS_Shape& s5,
134 virtual std::ostream &
SaveTo(std::ostream & save);
135 virtual std::istream &
LoadFrom(std::istream & load);