doc:user:geometry:user:points
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:geometry:user:points [2013/07/12 15:42] – external edit 127.0.0.1 | doc:user:geometry:user:points [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Points ====== | ====== Points ====== | ||
- | ===== Définition | + | ===== Definition |
- | Créer la géométrie est une étape importante. En effet, dans Python, nous avons choisi d'appliquer la plupart des commandes sur les entités géométriques et non uniquement sur le maillage. Cela permet d'avoir des [[doc: | + | Geometrical |
- | + | '' | |
- | Les '' | + | |
pt = pointset.define(number, | pt = pointset.define(number, | ||
- | | '' | + | with |
- | | '' | + | | '' |
+ | | '' | ||
- | ===== Exemple | + | ===== Example |
- | + | Definition of the 4 vertices of a square of length | |
- | Les 4 sommets d'un carré de côté | + | |
L=5 | L=5 | ||
pointset = geometry.getPointset() | pointset = geometry.getPointset() | ||
| | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | ===== Remarque ===== | + | The following command prints the created points as a list: |
- | + | print pointset | |
- | On peut également définir des points temporaires qu'on utilise par exemple pour définir des '' | + | which produces the following output: |
- | + | PointSet | |
- | pt0 = Point(0, 1, 0, 0) | + | Point #1 nDB=[1] (pos in DB) p=[0 0 0] |
- | + | Point #2 nDB=[2] (pos in DB) p=[5 0 0] | |
- | Ce point n' | + | Point #3 nDB=[3] (pos in DB) p=[5 5 0] |
+ | Point #4 nDB=[4] | ||
+ | |||
+ | ===== Note ===== | ||
+ | {{: | ||
+ | Temporary points can be used to define '' | ||
+ | pt = Point(1, x, y, z) | ||
+ | Since this Point was not defined using '' |
doc/user/geometry/user/points.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1