home *** CD-ROM | disk | FTP | other *** search
- .TH CONVEX
- 6 "IRIT Version 6.0"
- .SH NAME
- CONVEX
-
-
-
- PolygonType CONVEX( PolygonType Object )
-
- or
-
- ListType CONVEX( ListType Object )
-
- Converts non-convex polygons in Object, into convex ones. New vertices
- are introduced into the polygonal data during this process. The Boolean
- operations require the input to have convex polygons only (although it may
- return non convex polygons...) and it automatically converts non-convex input
- polygons to convex ones, using this same routine.
-
- However, some external tools (like irit2ray and poly3d-h) require convex
- polygons. This function must be used on the objects to guarantee that
- only convex polygons are saved into data files for these external tools.
-
- Example:
-
- CnvxObj = CONVEX( Obj );
- save( "data", CnvxObj );
-
- converts non-convex polygons into convex ones, so that the data file can be
- used by external tools requiring convex polygons.
-