[cgma-dev] Cones in iGeom

Tim Tautges tautges at mcs.anl.gov
Mon Aug 24 19:07:09 CDT 2009


I think it should stay a separate function, even though it's quite similar.

After you apply for an ANL acct, this can serve as verification that you can commit stuff.

- tim

Steve Jackson wrote:
> I want to be able to define cones through the iGeom interface.  (Tim and 
> I have discussed this already, and agreed that such an extension to 
> iGeom would be straightforward.)  Attached to this email is a patch that 
> implements an iGeom_createCone function, with an interface derived from 
> createCylinder.
> 
> Indeed, the new function is almost identical to createCylinder.  If we 
> want to avoid adding more functions to iGeom, it would be possible to 
> simply extend the createCylinder function to accept one more argument, 
> thus giving it the capacity to define cones as well as cylinders.  But 
> perhaps it is better to leave the existing cylinder interface as it is, 
> and add a new cone function like the one I've attached.
> 
> If the attached patch meets the approval of the lead developers, I'd ask 
> one of them to apply it to the repository.  Thanks.
> (By the way, it seems like the svn repository may have gone down this 
> afternoon; I'm currently unable to contact it.)
> ~S
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the cgma-dev mailing list