doc:user:geometry:user:points
This is an old revision of the document!
Table of Contents
Points
Definition
Defining the geometry is a significant step. Indeed, in Metafor, most commands are applied on geometric entities, and not on the mesh itself. Therefore, the data sets are easy to parametrize, since the number of mesh is not taken into account in the writing of boundary conditions.
Points
are the geometrical entities at the lowest level. They are used to define later Curves.
pt = pointset.define(number, x, y [, z])
number | user number (label) of the point (must be unique and $\geq 1$) |
x , y , z | coordinates of this point ($z=0$ by default) |
Example
Definition of the 4 vertices of a square of length $L$:
L=5 pointset = geometry.getPointset() p1 = pointset.define(1, 0, 0) p2 = pointset.define(2, L, 0) p3 = pointset.define(3, L, L) p4 = pointset.define(4, 0, L)
Note
doc/user/geometry/user/points.1420628606.txt.gz · Last modified: 2016/03/30 15:22 (external edit)