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:10] – [Plane] boman | doc:user:geometry:user:surfaces [2016/11/14 10:30] (current) – [Open Surface of revolution] wautelet | ||
---|---|---|---|
Line 13: | Line 13: | ||
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 using the cross product of vectors | ||
- | $\boldsymbol{p_2}-\boldsymbol{p_1}$ et $\boldsymbol{p_3}-\boldsymbol{p_1}$. | ||
with | with | ||
Line 23: | Line 19: | ||
| '' | | '' | ||
+ | Its normal (and therefore the surface orientation) is computed using the cross product of vectors | ||
+ | $\boldsymbol{p_2}-\boldsymbol{p_1}$ et $\boldsymbol{p_3}-\boldsymbol{p_1}$. | ||
===== Coons ===== | ===== Coons ===== | ||
Line 32: | Line 30: | ||
coons = surfaceset.add( Coons(number, | coons = surfaceset.add( Coons(number, | ||
+ | with | ||
+ | | '' | ||
| '' | | '' | ||
Line 43: | Line 43: | ||
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 56: | Line 58: | ||
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 63: | Line 65: | ||
nur.pushKnotV(knotv1) | nur.pushKnotV(knotv1) | ||
... | ... | ||
- | nur.pushKnotV(knotv2) | + | nur.pushKnotV(knotv2) |
+ | |||
+ | with | ||
+ | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
Line 72: | Line 76: | ||
| '' | | '' | ||
- | ===== Surface of revolution ===== | + | ===== Closed |
{{ doc: | {{ doc: | ||
Line 78: | Line 82: | ||
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, | ||
+ | |||
+ | with | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
===== Cylinder ===== | ===== Cylinder ===== | ||
Line 91: | Line 114: | ||
c.setProjType(projType) | c.setProjType(projType) | ||
- | where | + | with |
+ | | '' | ||
| '' | | '' | ||
| '' | | '' |
doc/user/geometry/user/surfaces.1420647014.txt.gz · Last modified: 2016/03/30 15:22 (external edit)