#include <TNaming_Builder.hxx>
#include <TNaming_NamedShape.hxx>
+#include <QColor>
+
IMPLEMENT_STANDARD_HANDLE(HYDROData_IPolyline, HYDROData_Entity)
IMPLEMENT_STANDARD_RTTIEXT(HYDROData_IPolyline, HYDROData_Entity)
{
}
+void HYDROData_IPolyline::SetWireColor( const QColor& theColor )
+{
+ SetColor( theColor, DataTag_WireColor );
+}
+
+QColor HYDROData_IPolyline::GetWireColor() const
+{
+ return GetColor( DefaultWireColor(), DataTag_WireColor );
+}
+
+QColor HYDROData_IPolyline::DefaultWireColor()
+{
+ return QColor( Qt::black );
+}
+
int HYDROData_IPolyline::NbPoints( const int theSectionIndex ) const
{
return GetPoints( theSectionIndex ).Length();