Users' Manual - IRIT


A Solid Modeling Program

(C) Copyright 1989-2015 Gershon Elber


EMail:
Join IRIT mailing list:
Mailing list:
Bug reports:
WWW Page: http://www.cs.technion.ac.il/~irit





This manual is for IRIT Ver. 11




  1. Introduction
  2. Copyrights
  3. Command Line Options and Set Up
    1. IBM PC OS2 Specific Set Up
    2. IBM PC Window 95/98/NT/2000/XP Specific Set Up
    3. Unix Specific Set Up
  4. First Usage
  5. Line Editing
  6. Data Types
  7. Commands summary
  8. Functions and Variables
  9. Language description
  10. Operator overloading
    1. Overloading +
    2. Overloading -
    3. Overloading *
    4. Overloading /
    5. Overloading ^{ }
    6. Overloading Equal (Assignments)
    7. Comparison operators ==, !=, <, >, <=, >=
    8. Logical operators &&, ||, !
    9. Geometric Boolean Operations
    10. Priority of operators
    11. Grammar
  11. Function Description
    1. NumericType returning functions
      1. ABS
      2. ACOS
      3. AREA
      4. ASIN
      5. ATAN
      6. ATAN2
      7. COS
      8. CLNTEXEC
      9. CPOLY
      10. DSTPTLN
      11. DSTPTPLN
      12. DSTLNLN
      13. EXP
      14. FLOOR
      15. FMOD
      16. LN
      17. LOG
      18. MESHSIZE
      19. POWER
      20. RANDOM
      21. SIN
      22. SIZEOF
      23. SQRT
      24. TAN
      25. THISOBJ
      26. VOLUME
    2. GeometricType returning functions
      1. ADAPISO
      2. ALGSUM
      3. ANALYFIT
      4. ANIMEVAL
      5. ANTIPODAL
      6. AOFFSET
      7. ARC
      8. ARC360
      9. AREPARAM
      10. BBOX
      11. BELTCURVE
      12. BFROM2IMG
      13. BFROM3IMG
      14. BLND2SRFS
      15. BLHERMITE
      16. BLSHERMITE
      17. BLOSSOM
      18. BOOLONE
      19. BOOLSUM
      20. BOUNDARY
      21. BOX
      22. BSCTCONCN2
      23. BSCTCONCON
      24. BSCTCONCYL
      25. BSCTCONLN
      26. BSCTCONPL
      27. BSCTCONPT
      28. BSCTCONSPR
      29. BSCTCYLCYL
      30. BSCTCYLPL
      31. BSCTCYLPT
      32. BSCTCYLSPR
      33. BSCTPLNLN
      34. BSCTPLNPT
      35. BSCTSPRLN
      36. BSCTSPRPL
      37. BSCTSPRPT
      38. BSCTSPRSPR
      39. BSCTTRSPT
      40. BSCTTRSSPR
      41. BZR2BSP
      42. BSP2BZR
      43. C2CONTACT
      44. C2RECTRGN
      45. CALPHASECTOR
      46. CANGLEMAP
      47. CARCLEN
      48. CAREA
      49. CARRANGMNT
      50. CARNGMNT2
      51. CBEZIER
      52. CBIARCS
      53. CBISECTOR2D
      54. CBISECTOR3D
      55. CBSPLINE
      56. CCINTER
      57. CCRVTR
      58. CCRVTR
      59. CCRVTREVAL
      60. CCUBICS
      61. CDERIVE
      62. CDIVIDE
      63. CEDITPT
      64. CENVOFF
      65. CEVAL
      66. CEXTREMES
      67. CFNCRVTR
      68. CHELIX
      69. CIEXTREME
      70. CINFLECT
      71. CINTEG
      72. CINTERP
      73. CIRCLE
      74. CIRCPOLY
      75. CLNTCRSR
      76. CLNTREAD
      77. CMESH
      78. CMOEBIUS
      79. CMORPH
      80. CMULTIRES
      81. CNORMAL
      82. CNRMLCRV
      83. CNVXHULL
      84. COERCE
      85. COMPOSE
      86. CON2
      87. CONE
      88. CONICSEC
      89. CONTOUR
      90. CONVEX
      91. COORD
      92. COVERISO
      93. COVERPT
      94. CPINCLUDE
      95. CPOWER
      96. CRAISE
      97. CRC2CRVTAN
      98. CREDUCE
      99. CREFINE
      100. CREGION
      101. CREPARAM
      102. CROSSEC
      103. CRV2TANS
      104. CRVKERNEL
      105. CRVLNDST
      106. CRVPTDST
      107. CRVPTTAN
      108. CSINE
      109. CSPIRAL
      110. CSURFACE
      111. CTANGENT
      112. CTLPT
      113. CTRIMSRF
      114. CTRLCYCLE
      115. CMESH
      116. CUBICCRVS
      117. CVIEWMAP
      118. CVISIBLE
      119. CYLIN
      120. CZEROS
      121. DIST2FF
      122. DUALITY
      123. ELLIPSE3PT
      124. EVOLUTE
      125. EXTRUDE
      126. FFCMPCRV
      127. FFCOMPAT
      128. FFCTLPTS
      129. FFEXTEND
      130. FFEXTREMA
      131. FFEXTREME
      132. FFGTYPE
      133. FFKNTLNS
      134. FFKNTVEC
      135. FFMATCH
      136. FFMERGE
      137. FFMESH
      138. FFMSIZE
      139. FFORDER
      140. FFPOLES
      141. FFPTDIST
      142. FFPTTYPE
      143. FFSPLIT
      144. FFSPLTPOLES
      145. FITPMODEL
      146. FIXPLGEOM
      147. FIXPLNRML
      148. FMLNANAL
      149. GBOX
      150. GETATTR
      151. GETLINE
      152. GETNAME
      153. GGINTER
      154. GPOINTLIST
      155. GPOLYGON
      156. GPOLYLINE
      157. HAUSDORFF
      158. HAUSDRPTS
      159. HERMITE
      160. ILOFFSET
      161. IMPLCTTRANS
      162. INSTANCE
      163. IRITSTATE
      164. ISGEOM
      165. ISOCLINE
      166. KNOTCLEAN
      167. KNOTREMOVE
      168. LINTERP
      169. LOFFSET
      170. MATDECOMP
      171. MATDECOMP2
      172. MATRECOMP
      173. MAXEDGELEN
      174. MBEZIER
      175. MBISECTOR
      176. MBSPLINE
      177. MDERIVE
      178. MDIVIDE
      179. MERGEPLLN
      180. MERGEPOLY
      181. MEVAL
      182. MFROM2IMG
      183. MFROM3IMG
      184. MFROMMESH
      185. MFROMMV
      186. MMERGE
      187. MOFFSET
      188. MOMENT
      189. MPOWER
      190. MRAISE
      191. MRCHCUBE
      192. MREFINE
      193. MREGION
      194. MREPARAM
      195. MREVERSE
      196. MSCIRC
      197. MSCONE
      198. MSSPHERE
      199. MUNIVZERO
      200. MVCONTACT
      201. MVEXPLICIT
      202. MVINTER
      203. NCCNTRPATH
      204. NCPCKTPATH
      205. MZERO
      206. MPROMOTE
      207. NIL
      208. OFFSET
      209. ORTHOTOMC
      210. PATTRIB
      211. PCIRCLE
      212. PCRVTR
      213. PDECIMATE
      214. PDOMAIN
      215. PINTERP
      216. PIMPRTNC
      217. PLANE
      218. PLANECLIP
      219. PLN3PTS
      220. PMORPH
      221. PNORMAL
      222. POINT
      223. POLARSIL
      224. POLY
      225. POLYHOLES
      226. PPINCLUDE
      227. PPINTER
      228. PPROPFTCH
      229. PRINTER
      230. PRISA
      231. PSUBDIV
      232. PT3BARY
      233. PTHMSPR
      234. PTLNPLN
      235. PTPTLN
      236. PTREGISTER
      237. PTS2PLLN
      238. PTS2PLYS
      239. PTSLNLN
      240. QUADCRVS
      241. QUADRIC
      242. RAYTRAPS
      243. RFLCTLN
      244. RRINTER
      245. RULEDFIT
      246. RULEDSRF
      247. RULEDTV
      248. SACCESS
      249. SASPCTGRPH
      250. SASYMPEVAL
      251. SBEZIER
      252. SBISECTOR
      253. SBSPLINE
      254. SCRVTR
      255. SCRVTREVAL
      256. SDDMMAP
      257. SDERIVE
      258. SDIVCRV
      259. SDIVIDE
      260. SELFINTER
      261. SETCOVER
      262. SEDITPT
      263. SEVAL
      264. SFLECNODAL
      265. SFOCAL
      266. SFROMCRVS
      267. SGAUSS
      268. SILHOUETTE
      269. SINTERP
      270. SINTPCRVS
      271. SKEL2DINT
      272. SMEAN
      273. SMERGE
      274. SMESH
      275. SMOEBIUS
      276. SMOOTHNRML
      277. SMOMENTS
      278. SMORPH
      279. SNORMAL
      280. SNRMLSRF
      281. SPARABOLC
      282. SPHERE
      283. SPLITLST
      284. SPOWER
      285. SRADCRVTR
      286. SRAISE
      287. SRAYCLIP
      288. SREFINE
      289. SREGION
      290. SREPARAM
      291. SREVERSE
      292. SRF2TANS
      293. SRF3TANS
      294. SRFFFORM
      295. SRFLNDST
      296. SRFKERNEL
      297. SRFPTDST
      298. SRINTER
      299. SSINTER
      300. SSINTR2
      301. STANGENT
      302. STRIMSRF
      303. STRIVAR
      304. SURFPREV
      305. SURFREV
      306. SURFREVAXS
      307. SURFREV2
      308. SURFREVAX2
      309. SVISIBLE
      310. SVOLUME
      311. SWEEPSRF
      312. SWPSCLSRF
      313. SWUNGASUM
      314. SYMBCPROD
      315. SYMBDIFF
      316. SYMBDPROD
      317. SYMBIPROD
      318. SYMBPROD
      319. SYMBSUM
      320. TBEZIER
      321. TBOOLONE
      322. TBOOLSUM
      323. TBSPLINE
      324. TCRVTR
      325. TDEFORM
      326. TDERIVE
      327. TDIVIDE
      328. TEDITPT
      329. TEVAL
      330. TEXT2GEOM
      331. TEXTLAYSHP
      332. TEXTGEOM
      333. TEXTWARP
      334. TFROMSRFS
      335. TINTERP
      336. TMORPH
      337. TNSCRCR
      338. TOFFSET
      339. TORUS
      340. TPINCLUDE
      341. TRAISE
      342. TREFINE
      343. TREGION
      344. TREPARAM
      345. TRIANGL
      346. TRIMSRF
      347. TRMSRFS
      348. TSBEZIER
      349. TSBSPLINE
      350. TSDERIVE
      351. TSEVAL
      352. TSGREGORY
      353. TSNORMAL
      354. TVIMPJACOB
      355. TVJACOBIAN
      356. TVLOAD
      357. TVPREV
      358. TVOLUME
      359. TVREV
      360. TVZRJACOB
      361. UVPOLY
      362. ZCOLLIDE
      363. ZTEXTRUDE
    3. Object transformation functions
      1. HOMOMAT
      2. MAP3PT2EQL
      3. MATPOSDIR
      4. PROJMAT
      5. RFLCTMAT
      6. ROTV2V
      7. ROTVEC
      8. ROTX
      9. ROTY
      10. ROTZ
      11. ROTZ2V
      12. ROTZ2V2
      13. SCALE
      14. TRANS
    4. General purpose functions
      1. ADWIDTH
      2. ATTRIB
      3. ATTRPROP
      4. ATTRVPROP
      5. AWIDTH
      6. CHDIR
      7. CLNTCLOSE
      8. CLNTWRITE
      9. COLOR
      10. COMMENT
      11. CPATTR
      12. ERROR
      13. EXEC
      14. EXIT
      15. FOR
      16. HELP
      17. FNFREE
      18. FREE
      19. FUNCTION
      20. IF
      21. INCLUDE
      22. INSERTPOLY
      23. INTERACT
      24. IQUERY
      25. LIST
      26. LOAD
      27. LOGFILE
      28. MSLEEP
      29. NREF
      30. NRMLCONE
      31. NTH
      32. PAUSE
      33. PRINTF
      34. PRINTFILE
      35. PROCEDURE
      36. RESET
      37. RMATTR
      38. SAVE
      39. SETNAME
      40. SNOC
      41. SYSTEM
      42. TIME
      43. VARLIST
      44. VECTOR
      45. VIEW
      46. VIEWOBJ
      47. VIEWSET
      48. WHILE
    5. System variables
      1. AXES
      2. DRAWCTLPT
      3. FLAT4PLY
      4. MACHINE
      5. POLY_APPROX_OPT
      6. POLY_APPROX_UV
      7. POLY_APPROX_TOL
      8. POLY_APPROX_TRI
      9. POLY_MERGE_COPLANAR
      10. PRSP_MAT
      11. RESOLUTION
      12. VIEW_MAT
    6. System constants
      1. AMIGA
      2. APOLLO
      3. BEZIER_TYPE
      4. BLACK
      5. BLUE
      6. BSPLINE_TYPE
      7. CLIENTS_ALL
      8. COL
      9. CTLPT_TYPE
      10. CURVE_TYPE
      11. CYAN
      12. CYGWIN
      13. DEPTH
      14. E1
      15. E2
      16. E3
      17. E4
      18. E5
      19. E6
      20. E7
      21. E8
      22. E9
      23. FALSE
      24. GEOM_CONST
      25. GEOM_LINEAR
      26. GEOM_CIRCULAR
      27. GEOM_PLANAR
      28. GEOM_SPHERICAL
      29. GEOM_SRF_OF_REV
      30. GEOM_EXTRUSION
      31. GEOM_RULED_SRF
      32. GEOM_DEVELOP_SRF
      33. GEOM_SWEEP
      34. GREEN
      35. GREGORY_TYPE
      36. HP
      37. IBMOS2
      38. KV_DISC_OPEN
      39. KV_FLOAT
      40. KV_OPEN
      41. KV_PERIODIC
      42. LINUX
      43. LIST_TYPE
      44. MACOSX
      45. MAGENTA
      46. MATRIX_TYPE
      47. MSDOS
      48. MODEL_TYPE
      49. MULTIVAR_TYPE
      50. NUMERIC_TYPE
      51. OFF
      52. ON
      53. P1
      54. P2
      55. P3
      56. P4
      57. P5
      58. P6
      59. P7
      60. P8
      61. P9
      62. PARAM_CENTRIP
      63. PARAM_CHORD
      64. PARAM_NIELFOL
      65. PARAM_UNIFORM
      66. PI
      67. PLANE_TYPE
      68. POINT_TYPE
      69. POLY_TYPE
      70. POWER_TYPE
      71. RED
      72. ROW
      73. SGI
      74. STRING_TYPE
      75. SURFACE_TYPE
      76. SUN
      77. TRIMSRF_TYPE
      78. TRISRF_TYPE
      79. TRIVAR_TYPE
      80. TRUE
      81. UNDEF_TYPE
      82. UNIX
      83. UNTRIMMED_TYPE
      84. VECTOR_TYPE
      85. WINDOWS
      86. WHITE
      87. YELLOW
  12. Animation
    1. How to create animation curves in IRIT
    2. A more complete animation example
    3. Another complete animation example
  13. Display devices
    1. Command Line Options
    2. Configuration Options
    3. Interactive mode setup
    4. Basic Attributes
    5. Animation Mode
    6. Advanced (Programmable) Hardware Graphics Support
      1. HDDM (Hardware Deformation Displacement Mapping)
      2. HFFD (Hardware Free Form Deformation)
    7. Specific Comments
    8. Examples
  14. Utilities - General Usage
  15. Poly3d-h - Hidden Line Removing Program
    1. Introduction
    2. Command Line Options
    3. Configuration
    4. Usage
  16. Illustrt - Simple line illustration filter
    1. Introduction
    2. Command Line Options
    3. Usage
  17. Aisoshad - Simple line illustration filter
    1. Introduction
    2. Command Line Options
    3. Usage
  18. IZebra - Simple zebra style, parallel curve based rendering
    1. Introduction
    2. Command Line Options
    3. Usage
  19. LineShad - Simple line illustration filter
    1. Introduction
    2. Command Line Options
    3. Usage
  20. ihidden - Hidden Curve Removing Program
    1. Introduction
    2. Command Line Options
    3. Configuration
    4. Usage
  21. Irender - Simple Scan Line Renderer
    1. Introduction
    2. Command Line Options
    3. Configuration
    4. Usage
    5. Advanced Usage
  22. 3DS2Irit - AutoCad 3DS Data To IRIT file filter
    1. Command Line Options
    2. Usage
  23. Dat2Bin - Data To Binary Data file filter
    1. Command Line Options
    2. Usage
  24. Dat2Irit - Data To IRIT file filter
    1. Command Line Options
    2. Usage
  25. Dxf2Irit - DXF (Autocad) To IRIT filter
    1. Command Line Options
    2. Usage
  26. IGS2Irit - IGES Data To IRIT file filter
    1. Command Line Options
    2. Usage
  27. Iirit23js - IRIT To ThreeJS filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  28. Irit2Dxf - IRIT To DXF (Autocad) filter
    1. Command Line Options
    2. Usage
  29. Irit2Hgl - IRIT To HPGL filter
    1. Command Line Options
    2. Usage
  30. Irit2IGS - IRIT To IGES filter
    1. Command Line Options
    2. Usage
  31. Irit2Iv - IRIT To SGI's Inventor filter
    1. Command Line Options
    2. Usage
  32. Irit2Nff - IRIT To NFF filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  33. Irit2Off - IRIT To OFF filter
    1. Command Line Options
    2. Usage
  34. Irit2Plg - IRIT To PLG (REND386) filter
    1. Command Line Options
    2. Usage
  35. Irit2pov - IRIT To POVRAY raytracer filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  36. Irit2Ps - IRIT To PS filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  37. Irit2Ray - IRIT To RAYSHADE filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  38. Irit2Scn - IRIT To SCENE (RTrace) filter
    1. Command Line Options
    2. Usage
    3. Advanced Usage
  39. Irit2Stl - IRIT To STL filter
    1. Command Line Options
    2. Usage
  40. Irit2Wrl - IRIT To IGES filter
    1. Command Line Options
    2. Usage
  41. Irit2Wgl - IRIT To WGL filter
    1. Command Line Options
    2. Usage
    3. Runtime Usage
    4. Browser Support
    5. Usefull Links
  42. Irit2Xfg - IRIT To XFIG filter
    1. Command Line Options
    2. Usage
  43. Obj2irit - Wavefront OBJ format To IRIT data files
    1. Command Line Options
    2. Usage
  44. Off2irit - Geom View Off format To IRIT data files
    1. Command Line Options
    2. Usage
  45. Stl2Irit - Stl (stereo lithograph) data To IRIT file filter
    1. Command Line Options
    2. Usage
  46. Data File Format
  47. Bugs and Limitations