27 #ifndef _SMESH_ProjectionSource1D_HXX_ 28 #define _SMESH_ProjectionSource1D_HXX_ 35 #include <TopoDS_Vertex.hxx> 70 {
return !_sourceEdge.IsNull() && _sourceEdge.ShapeType() == TopAbs_COMPOUND; }
86 void SetVertexAssociation(
const TopoDS_Shape& sourceVertex,
107 {
return ( !_sourceVertex.IsNull() && !_targetVertex.IsNull() ); }
124 virtual std::ostream &
SaveTo(std::ostream & save);
125 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