doc:user:geometry:user:surfaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:geometry:user:surfaces [2015/01/07 17:05] – boman | doc:user:geometry:user:surfaces [2016/11/14 10:30] (current) – [Open Surface of revolution] wautelet | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== Plane ===== | ===== Plane ===== | ||
- | {{ doc: | + | {{ doc: |
A plane is defined by three points: | A plane is defined by three points: | ||
- | |||
plane = surfaceset.add( Plane(number, | plane = surfaceset.add( Plane(number, | ||
- | Its normal (and therefore the surface orientation) is calculated | + | with |
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | Its normal (and therefore the surface orientation) is computed | ||
$\boldsymbol{p_2}-\boldsymbol{p_1}$ et $\boldsymbol{p_3}-\boldsymbol{p_1}$. | $\boldsymbol{p_2}-\boldsymbol{p_1}$ et $\boldsymbol{p_3}-\boldsymbol{p_1}$. | ||
- | |||
- | | '' | ||
- | |||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | |||
- | |||
- | |||
===== Coons ===== | ===== Coons ===== | ||
- | {{ doc: | + | {{ doc: |
A Coons' surface is a linear interpolation between four '' | A Coons' surface is a linear interpolation between four '' | ||
Line 37: | Line 30: | ||
coons = surfaceset.add( Coons(number, | coons = surfaceset.add( Coons(number, | ||
- | | '' | + | with |
- | + | | '' | |
- | \\ | + | | '' |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
Line 54: | Line 39: | ||
A ruled surface is defined by linearly interpolating two curves. The orientation of these curves sets the surface orientation. | A ruled surface is defined by linearly interpolating two curves. The orientation of these curves sets the surface orientation. | ||
- | {{ doc: | + | {{ doc: |
ruled = surfaceset.add( Ruled(number, | ruled = surfaceset.add( Ruled(number, | ||
- | | '' | + | with |
+ | | '' | ||
+ | | '' | ||
Ruled surfaces can be used to create planes, if the two '' | Ruled surfaces can be used to create planes, if the two '' | ||
- | |||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | |||
Line 78: | Line 53: | ||
===== NURBS ===== | ===== NURBS ===== | ||
- | {{ doc: | + | {{ doc: |
nur = surfaceset.add( NurbsSurface(number) ) | nur = surfaceset.add( NurbsSurface(number) ) | ||
nur.setDegreeU(degU) | nur.setDegreeU(degU) | ||
nur.setDegreeV(degV) | nur.setDegreeV(degV) | ||
- | nur.push(i1, | + | nur.push(i1, |
nur.push(i2, | nur.push(i2, | ||
nur.pushKnotU(knotu1) | nur.pushKnotU(knotu1) | ||
Line 90: | Line 65: | ||
nur.pushKnotV(knotv1) | nur.pushKnotV(knotv1) | ||
... | ... | ||
- | nur.pushKnotV(knotv2) | + | nur.pushKnotV(knotv2) |
+ | |||
+ | with | ||
+ | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
Line 99: | Line 76: | ||
| '' | | '' | ||
- | ===== Surface of revolution ===== | + | ===== Closed |
- | {{ doc: | + | {{ doc: |
revsur = surfaceset.add( RevolutionSurface(number, | revsur = surfaceset.add( RevolutionSurface(number, | ||
- | where | + | with |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ===== Open Surface of revolution ===== | ||
+ | |||
+ | openrevsur = surfaceset.add( OpenRevolutionSurface(number, | ||
+ | with | ||
+ | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
+ | | '' | ||
+ | ===== Sphere | ||
- | \\ | + | c = Sphere(number, |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | ==== Cylinder ==== | + | with |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ===== Cylinder | ||
c = Cylinder(number, | c = Cylinder(number, | ||
Line 125: | Line 114: | ||
c.setProjType(projType) | c.setProjType(projType) | ||
- | where | + | with |
+ | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
+ | |||
+ | |||
+ |
doc/user/geometry/user/surfaces.1420646749.txt.gz · Last modified: 2016/03/30 15:22 (external edit)