#include <TDataStd_RealList.hxx>
-#include <TopoDS_Wire.hxx>
+#include <TopoDS_Shape.hxx>
IMPLEMENT_STANDARD_HANDLE(HYDROData_ProfileUZ, HYDROData_IPolyline)
{
}
-TopoDS_Wire HYDROData_ProfileUZ::GetWire() const
+TopoDS_Shape HYDROData_ProfileUZ::GetShape()
{
// TODO
- return TopoDS_Wire();
+ return TopoDS_Shape();
}
int HYDROData_ProfileUZ::NbSections() const
return 1;
}
-void HYDROData_ProfileUZ::AddSection( const bool /*theIsClosed*/ )
+void HYDROData_ProfileUZ::AddSection( const TCollection_AsciiString& /*theSectName*/,
+ const SectionType /*theSectionType*/,
+ const bool /*theIsClosed*/ )
+{
+}
+
+TCollection_AsciiString HYDROData_ProfileUZ::GetSectionName( const int /*theSectionIndex*/ ) const
+{
+ return "Section_1";
+}
+
+void HYDROData_ProfileUZ::SetSectionName( const int /*theSectionIndex*/,
+ const TCollection_AsciiString& /*theSectionName*/ )
+{
+}
+
+HYDROData_ProfileUZ::SectionType HYDROData_ProfileUZ::GetSectionType( const int /*theSectionIndex*/ ) const
+{
+ return SECTION_POLYLINE;
+}
+
+void HYDROData_ProfileUZ::SetSectionType( const int /*theSectionIndex*/,
+ const SectionType /*theSectionType*/ )
{
}
return false;
}
+void HYDROData_ProfileUZ::SetSectionClosed( const int /*theSectionIndex*/,
+ const bool /*theIsClosed*/ )
+{
+}
+
void HYDROData_ProfileUZ::RemoveSection( const int /*theSectionIndex*/ )
{
RemoveSections();
}
void HYDROData_ProfileUZ::SetPoint( const int theSectionIndex,
- const int /*thePointIndex*/,
- const Point& thePoint )
+ const Point& thePoint,
+ const int /*thePointIndex*/ )
{
AddPoint( theSectionIndex, thePoint );
}