libsbmlcs.Compartment.getVolume C# (CSharp) Method

getVolume() public method

public getVolume ( ) : double
return double
        public double getVolume()
        {
            double ret = libsbmlPINVOKE.Compartment_getVolume(swigCPtr);
            return ret;
        }

Usage Example

コード例 #1
0
 public void test_Compartment_setVolume2()
 {
     Compartment c = new  Compartment(2,2);
       int i = c.setVolume(4);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( c.getVolume() == 4.0 );
       assertEquals( true, c.isSetVolume() );
       i = c.unsetVolume();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, c.isSetVolume() );
       c = null;
 }
All Usage Examples Of libsbmlcs.Compartment::getVolume