doc:user:geometry:user:courbes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:geometry:user:courbes [2015/01/07 17:24] – [Arc] boman | doc:user:geometry:user:courbes [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
{{ doc: | {{ doc: | ||
- | ===== Line: straight segment | + | ===== Line: Straight Segment |
- | {{ doc: | + | {{ doc: |
A '' | A '' | ||
Line 19: | Line 19: | ||
with | with | ||
- | | '' | + | | '' |
| '' | | '' | ||
- | ===== Arc ===== | + | ===== Arc: Arc of Circle |
- | {{ doc: | + | {{ doc: |
An '' | An '' | ||
Line 37: | Line 37: | ||
===== Cubic Spline ===== | ===== Cubic Spline ===== | ||
- | {{ doc: | + | {{ doc: |
- | ==== " | + | ==== " |
spl = curveset.add( CubicSpline(number, | spl = curveset.add( CubicSpline(number, | ||
- | spl.useLsTangent() | + | spl.useLsTangent() |
# using local reconstruction [DEFAULT] | # using local reconstruction [DEFAULT] | ||
- | spl.useLittTangents() # tangents are calculated | + | spl.useLittTangents() # tangents are computed |
# using Litt/ | # using Litt/ | ||
| | ||
- | | + | with |
+ | | '' | ||
+ | | '' | ||
==== " | ==== " | ||
Line 56: | Line 59: | ||
==== Spline-reconstruction based on a mesh ==== | ==== Spline-reconstruction based on a mesh ==== | ||
- | {{ : | + | {{: |
It is possible to construct a spline based on the mesh of a line. This way, a smooth approximation of this mesh if obtained. | It is possible to construct a spline based on the mesh of a line. This way, a smooth approximation of this mesh if obtained. | ||
Line 63: | Line 66: | ||
where '' | where '' | ||
- | ===== Full Circle ===== | + | ===== Circle: |
- | {{ doc: | + | {{ doc: |
A circle is defined with its center and radius (this function is only defined in the $z=0$ plane) | A circle is defined with its center and radius (this function is only defined in the $z=0$ plane) | ||
- | circ2d = curset.add( Circle(number, | + | circ2d = curset.add( Circle(number, |
- | The orientation of the circle can be inverted | + | with |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | The orientation of the '' | ||
circ2d.reverse() | circ2d.reverse() | ||
Line 81: | Line 88: | ||
A Non-Uniform Rational Basis Spline (N.U.R.B.S.) is defined as: | A Non-Uniform Rational Basis Spline (N.U.R.B.S.) is defined as: | ||
- | {{ doc: | + | {{ doc: |
nur = curset.add( NurbsCurve(number) ) | nur = curset.add( NurbsCurve(number) ) | ||
Line 92: | Line 99: | ||
where | where | ||
|< 30em - >| | |< 30em - >| | ||
- | | '' | + | | '' |
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | ||
- | | '' | ||
Line 104: | Line 109: | ||
{{: | {{: | ||
- | If a curve cannot be defined with the functions above, it can be programmed in [[doc: | + | If a '' |
+ | |||
+ | The method '' | ||
- | The method | + | '' |
__Example: | __Example: |
doc/user/geometry/user/courbes.1420647860.txt.gz · Last modified: 2016/03/30 15:22 (external edit)