-# Copyright (C) 2005-2012 OPEN CASCADE
+# Copyright (C) 2005-2014 OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
"""
SALOME_ComponentPy.SALOME_ComponentPy_i.__init__( self, orb, poa, contID, containerName,instanceName, interfaceName, 0 )
+ def getVersion( self ):
+ """
+ Get version information.
+ """
+ import salome_version
+ return salome_version.getVersion("RANDOMIZER", True)
+
def InitPoint( self ):
"""
Generate random 2d-point: x, y = [0,1)