Re: how to define a new geometric-object?

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Tue, 15 Aug 2006, Huazhong Wang wrote:
> i am trying to define a new geometric-object: triangle geometric object (not 
> triangle lattice). But i don't know how to define a new geomtric-object by 
> geometric-object command. i didn't find more information in the manual. who 
> could help me?
> thanks,

You can't define new primitive objects, at least not without a lot of 
hacking of C code in geom.c.

However, it is no problem to make triangles by overlapping several 
geometric objects.

Also, in 2d, a triangle is "natively" supported: it is just a cone with 
its axis in the 2d plane.

Steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.