libsbmlcs.Compartment.getSpatialDimensions C# (CSharp) Метод

getSpatialDimensions() публичный Метод

public getSpatialDimensions ( ) : long
Результат long
        public long getSpatialDimensions()
        {
            return (long)libsbmlPINVOKE.Compartment_getSpatialDimensions(swigCPtr);
        }

Usage Example

Пример #1
0
 public void test_Compartment_createWithNS()
 {
     XMLNamespaces xmlns = new  XMLNamespaces();
       xmlns.add( "http://www.sbml.org", "testsbml");
       SBMLNamespaces sbmlns = new  SBMLNamespaces(2,1);
       sbmlns.addNamespaces(xmlns);
       Compartment c = new  Compartment(sbmlns);
       assertTrue( c.getTypeCode() == libsbml.SBML_COMPARTMENT );
       assertTrue( c.getMetaId() == "" );
       assertTrue( c.getNotes() == null );
       assertTrue( c.getAnnotation() == null );
       assertTrue( c.getLevel() == 2 );
       assertTrue( c.getVersion() == 1 );
       assertTrue( c.getNamespaces() != null );
       assertTrue( c.getNamespaces().getLength() == 2 );
       assertTrue( c.getName() == "" );
       assertTrue( c.getSpatialDimensions() == 3 );
       assertTrue( c.getConstant() == true );
       c = null;
 }
All Usage Examples Of libsbmlcs.Compartment::getSpatialDimensions