Hi Mosche,

In my problem the polytope is defined not by its vertices, but by a set of 
linear equations and inequalities.

Serguei



Moshe Olshansky schrieb:
Hi,

If you know that all your points represent vertices of a convex polygon you do 
not need any special package.
The center of mass is just the mean of the coordinates.
To enumerate the vertices, compute the vectors from the center of mass to all 
the vertices. Using atan2 function compute the arguments of all these vectors 
(between 0 and 2*pi) and number the points according to their argument.


--- On Wed, 1/10/08, Serguei Kaniovski <[EMAIL PROTECTED]> wrote:

From: Serguei Kaniovski <[EMAIL PROTECTED]>
Subject: [R] Vertex enumeration and center of mass for convex polytops
To: [EMAIL PROTECTED]
Received: Wednesday, 1 October, 2008, 10:00 PM
Dear All!

I am looking for a package that contains routines for
vertex enumeration and center of mass computation for convex polytops.

Thanks in advance,
Serguei Kaniovski

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained,
reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to