doc:user:geometry:user:axes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:user:geometry:user:axes [2013/07/12 14:09] – external edit 127.0.0.1 | doc:user:geometry:user:axes [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Axes ====== | ||
+ | ===== Introduction ===== | ||
+ | |||
+ | '' | ||
+ | |||
+ | ===== Definition ===== | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | pt0 = Point(0, | ||
+ | pt1 = Point(1, | ||
+ | axe1 = Axe(pt0, pt1) | ||
+ | |||
+ | line2 = Line(0, pt0, pt1) | ||
+ | axe2 = Axe(line2) | ||
+ | |||
+ | As for '' | ||
+ | |||
+ | axe1 = Axe(pointset(1), | ||
+ | axe2 = Axe(curveset(1)) | ||
+ | axe3 = Axe(meshpointset()(1), | ||
+ | |||
+ | In this case, if the corresponding points, curves or nodes are moving, so will the axis. | ||
+ | |||
+ | ===== Note ===== | ||
+ | |||
+ | Sometimes, only one point of a moving axis is known. Indeed, the origin or end point can be moving, but the axis must remain along the same direction. In this case, only one point is given, and its direction is specified. This is done by defining the axis with he same point twice: | ||
+ | |||
+ | axe1 = Axe(pointset(1), | ||
+ | |||
+ | The direction is set using the functions: | ||
+ | |||
+ | axe1.setSymX0(x0) | ||
+ | axe1.setSymY0(y0) | ||
+ | axe1.setSymZ0(z0) | ||
+ | |||
+ | if the origin of the axis is known, and: | ||
+ | |||
+ | axe1.setSymX1(x1) | ||
+ | axe1.setSymY1(y1) | ||
+ | axe1.setSymZ1(z1) | ||
+ | |||
+ | if the end of the axis is known. '' | ||
+ | '' | ||
+ | |||
+ | |||
+ | |||
+ |