version 1.5.1 (2003/08/25)
version 1.5 (2002/23/10)
version 1.4.2 (2002/12/03)
version 1.4 (2002/05/20)
version 1.3 (2002/05/03)
version 1.2 (2001/11/28)
version 1.1 (1999/12/06)
The design of a software application based on P2MESH basically consists in the specification of a suitable set of derived classes, that would embody both the physical and numerical details in the corresponding partially pre-defined ``geometric'' types provided by the library.
As a result, it is generally not useful to instantiate mesh-based objects directly from the library types, because these instances would show nothing more than their geometrical nature.
Throughout the manual, the base classes in P2MESH will also be referred as library classes, and the derived classes as project classes, being the project a generic user application based on P2MESH.
p2_ in the base class names has been adopted in the library implementation in order to avoid name conflicts with other project names, that, for instance, might be defined by the user or which might be already defined in other software packages.
From the base class
p2_poly two different types of polygons can be derived, triangles and quadrilaterald. The keyword
Poly thus refers to a generic polygon type and any information concerning an instance of such a type will hold for both triangle and quadrilateral objects.
The instance of the project classes
Mesh will be simply called vertices, edges, polygons and mesh.
const is usually omitted in the public method declarations for the sake of compactness. Moreover the default values for the template argument
double are used throughout the manual in the method declarations.
The standard built-in arithmetic types
unsigned are parameterized by using the alias names
Unsigned. The alias names are accessible within the project classes; for the sake of clarity, in the examples we use their default values
unsigned. The marker types see Markers are also parameterized by using
Vmark for vertex markers,
Emark for edge markers and
Pmark for polygon markers. If no user type is specified, the default type is