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:28] – [NURBS] 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 22: | Line 22: | ||
| '' | | '' | ||
- | ===== 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/ | ||
| | ||
Line 59: | 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 66: | 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) | ||
Line 88: | 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 104: | Line 104: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | ||
- | | '' | ||
Line 111: | 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.1420648080.txt.gz · Last modified: 2016/03/30 15:22 (external edit)