Version: 6.5.0
read_example.cxx

This example shows the use of connectivity retrieval methods on a mesh which corresponds to the four-element mesh given in figure ??. Note the use of connectivity and connnectivity index tables, and the offsets used to convert Fortran-style numbering to C arrays.

The output of this program reads :

Number of types : 3
Type #0
Element 1 : 1 2 3
Type #1
Element 1 : 2 4 5 3
Element 2 : 5 6 7 8
Type #2
Element 1 : 4 6 5 10 11 9

A more complete example involving descending connectivities can be found in MESHconnectivities.cxx and MESHconnectivities.py.

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS