how to construct non-convex polyhedra?

34 views
Skip to first unread message

King Yin Yan

unread,
Jun 6, 2014, 1:45:51 AM6/6/14
to sage-s...@googlegroups.com
I am looking in the Polyhedra class but the module is for convex ones only.

I can build a non-convex polygon in 2D by listing its vertexes.

I would like to then construct a cylinder with that polygon as base.

Thanks in advance.

Dima Pasechnik

unread,
Jun 7, 2014, 6:54:26 AM6/7/14
to sage-s...@googlegroups.com
it seems that Sage can't do this; moreover, none of its geometry backends
support nonconvex polyhedra.

There aren't many options if you want off the shelf software
supporting these. Nef polyhedra in 2D and 3D are supported by CGAL
(the latter does not have an interface to Sage AFAIK).
I am not aware of anything else (although I imagine there is a lot of
CAD software that can deal with these in dimensions 2 and 3)


Reply all
Reply to author
Forward
0 new messages