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 5786]: data format for elipsoid?


  • To: software@geom.umn.edu
  • Subject: Re: [Closed REQ 5786]: data format for elipsoid?
  • From: daemon
  • Date: Sat, 9 Mar 1996 22:53:35 -0600 (CST)

You can wrap an INST around a sphere to produce an ellipsoid.  The INST
object type includes a transformation, specified as a 4x4 matrix,
and another object to which the transformation should apply.  So:

  INST
   transform
	.7   0   0   0
	0   1.5  0   0
	0    0   2   0
	5  -7.5  4   1
   geom {
	SPHERE
	1  0 0 0
   }

takes a unit sphere, and applies a transformation to convert it into
an ellipsoid with axes .7, 1.5, and 2 aligned with X, Y and Z axes
respectively, and centered on (5, -7.5, 4).  As described in the geomview
manual or in "man 5 oogl", transformation matrices for geomview are written
assuming they'll be multipled on the left by points (x,y,z,1) written as row
vectors, i.e. p*T = p'; this is the transpose of the usual mathematical
convention where points are column vectors multiplied on the right, T*p = p'.

Hope this is what you need.


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