- SMESH::TPythonDump() << _this() << ".SetLength( "
- << theLength << ", " << theIsStart << " )";
+ SMESH::TPythonDump()
+ << _this() << ( theIsStart ? ".SetStartLength( " : ".SetEndLength( " ) << theLength << " )";
+}
+
+//=============================================================================
+/*!
+ * Sets <start segment length> parameter value
+ */
+//=============================================================================
+
+void StdMeshers_Arithmetic1D_i::SetStartLength( CORBA::Double length)
+ throw (SALOME::SALOME_Exception)
+{
+ SetLength( length, true );
+}
+
+//=============================================================================
+/*!
+ * Sets <end segment length> parameter value
+ */
+//=============================================================================
+
+void StdMeshers_Arithmetic1D_i::SetEndLength( CORBA::Double length)
+ throw (SALOME::SALOME_Exception)
+{
+ SetLength( length, false );