27 #ifndef _SMESH_ProjectionSource2D_HXX_ 28 #define _SMESH_ProjectionSource2D_HXX_ 35 #include <TopoDS_Vertex.hxx> 70 {
return !_sourceFace.IsNull() && _sourceFace.ShapeType() == TopAbs_COMPOUND; }
87 void SetVertexAssociation(
const TopoDS_Shape& sourceVertex1,
112 {
return ( !_sourceVertex1.IsNull() && !_targetVertex1.IsNull() &&
113 !_sourceVertex2.IsNull() && !_targetVertex2.IsNull()); }
134 virtual std::ostream &
SaveTo(std::ostream & save);
135 virtual std::istream &
LoadFrom(std::istream & load);
bool IsCompoundSource() const
TopoDS_Vertex _sourceVertex1
#define STDMESHERS_EXPORT
TopoDS_Vertex _targetVertex2
virtual std::istream & LoadFrom(std::istream &load)=0
TopoDS_Vertex _targetVertex1
virtual bool SetParametersByDefaults(const TDefaults &dflts, const SMESH_Mesh *theMesh=0)=0
Initialize my parameter values by default parameters.
virtual std::ostream & SaveTo(std::ostream &save)=0
virtual bool SetParametersByMesh(const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)=0
Initialize my parameter values by the mesh built on the geometry.
TopoDS_Vertex _sourceVertex2
bool HasVertexAssociation() const
Test if vertex association defined.
SMESH_Mesh * GetSourceMesh() const