28 #ifndef _SMESH_ProjectionSource1D_HXX_
29 #define _SMESH_ProjectionSource1D_HXX_
36 #include <TopoDS_Vertex.hxx>
71 {
return !_sourceEdge.IsNull() && _sourceEdge.ShapeType() == TopAbs_COMPOUND; }
87 void SetVertexAssociation(
const TopoDS_Shape& sourceVertex,
108 {
return ( !_sourceVertex.IsNull() && !_targetVertex.IsNull() ); }
125 virtual std::ostream &
SaveTo(std::ostream & save);
126 virtual std::istream &
LoadFrom(std::istream & load);
TopoDS_Vertex _sourceVertex
TopoDS_Vertex GetSourceVertex() const
bool IsCompoundSource() const
TopoDS_Vertex GetTargetVertex() const
#define STDMESHERS_EXPORT
virtual std::istream & LoadFrom(std::istream &load)=0
TopoDS_Vertex _targetVertex
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.
bool HasVertexAssociation() const
Test if vertex association defined.
TopoDS_Shape GetSourceEdge() const
SMESH_Mesh * GetSourceMesh() const