go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Closed REQ 5649]:


  • To: software@geom.umn.edu
  • Subject: Re: [Closed REQ 5649]:
  • From: daemon
  • Date: Wed, 22 Nov 1995 18:22:37 -0600 (CST)

Geomview does just need a newline to terminate each face description in
an OFF file.  If you write

(geometry PYRA1 OFF 4 4 6
0.577350 0.000000 0.000000
-0.288675 0.000000 0.500000
-0.288675 0.000000 -0.500000
0.000000 2.000000 0.000000
3 0 1 3
3 1 2 3
3 2 3 3
3 0 1 2
)

then it works.  This could be considered a bug, but at least it's
easy to work around.

Also, to avoid future trouble, it's safest to enclose in { braces }
any geometric data which is embedded within GCL commands, as in:

(geometry PYRA1 { OFF 4 4 6
0.577350 0.000000 0.000000
-0.288675 0.000000 0.500000
-0.288675 0.000000 -0.500000
0.000000 2.000000 0.000000
3 0 1 3
3 1 2 3
3 2 3 3
3 0 1 2
})

Some contexts require the braces, others can live without them, but it's
best to be safe and use them when you're not sure.  The OFF object still
needs its trailing newline regardless of braces, though. 


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo