home *** CD-ROM | disk | FTP | other *** search
- .TH COMPOSE
- 6 "IRIT Version 6.0"
- .SH NAME
- COMPOSE
-
-
-
- CurveType COMPOSE( CurveType Crv1, CurveType Crv2 )
-
- or
-
- CurveType COMPOSE( SurfaceType Srf, CurveType Crv )
-
- Symbolically compute the composition curve Crv1(Crv2(t)) or
- Srf(Crv(t)). In Crv1(Crv2(t), Crv1 can be any curve
- while Crv2 must be a one-dimensional curve that is either E1 or
- P1. In Srf(Crv(t)), Srf can be any surface, while Crv
- must be a two-dimensional curve, that is either E2 or P2. Both Crv2
- in the curve's composition, and Crv is the surface's composition
- must be contained in the curve or surface parametric domain.
-
- Example:
-
- srf = sbezier( list( list( ctlpt( E3, 0.0, 0.0, 0.0 ),
- ctlpt( E3, 0.0, 0.5, 1.0 ),
- ctlpt( E3, 0.0, 1.0, 0.0 ) ),
- list( ctlpt( E3, 0.5, 0.0, 1.0 ),
- ctlpt( E3, 0.5, 0.5, 0.0 ),
- ctlpt( E3, 0.5, 1.0, 1.0 ) ),
- list( ctlpt( E3, 1.0, 0.0, 1.0 ),
- ctlpt( E3, 1.0, 0.5, 0.0 ),
- ctlpt( E3, 1.0, 1.0, 1.0 ) ) ) );
- crv = coerce( circle( vector( 0.0, 0.0, 1.0 ), 0.4 ), p2 ) *
- trans( vector( 0.5, 0.5, 0.0 ) );
- comp_crv = COMPOSE( srf, crv );
-
- compose a circle Crv to be on the surface Srf.
-