Re: Finding edges of a given polyhedra in 3D



macio wrote:
I will be more specific (forgive me for that lack of some data).

Tha whole task is to compute the area of the planar polygon created by
the cross-sesction of the polyhedron.

The polyhedron is convex. I prepared a simple picture which depicts the
situation - it's here:
http://img131.imageshack.us/img131/5088/polyhedronao0.gif

I know coordinates of all the vertices of the convex polyhedron and I
can easily compute the coordinates of the points (blue and yellow)
where all the line-sections (created by the pairs of vertices of that
polyhedron - diagonals and edges) intercept that plane. Then I can
compute the cross-section area knowing the coords of the blue points.
The yellow points are redundant. So I have to know which line-section
is the diagonal and which is the edge of the polyhedra to choose right
points to compute the area of that polygon.


I disagree with your last sentence. It seems better to me to get down to
two dimensions as soon as possible. Doesn't the following do what you need?

1. For each pair A,B of vertices of the polyhedron, find the
intersection of the line connecting A and B with the plane. If the
intersection is A, B, or anywhere between them, add the point to a list L.

[List L contains the yellow and blue points].

2. Rotate and translate the points in list L so that they are in
coordinates relative to the plane, and need only two coordinates.

3. Apply any 2D convex hull algorithm to the transformed points. The
result is an ordered list of the coordinates of the vertices of the
planar polygon whose area you want.

[The convex hull vertex list contains only the blue points. The yellow
points are interior points of the convex hull.]

Patricia
.



Relevant Pages

  • Re: A family of inequalities of degree 3
    ... in R^3 for which the inequality ... convex and it is easy to verify that it contains ... of which one is a decraesing sequence that contains the set S, ... I got the impression that S itself might be a polyhedron; ...
    (sci.math)
  • Re: Concave Polyhedron Decomposition
    ... number of convex polyhedra. ... that will take any polyhedron and decompose into a ... Once you have a BSP-tree built for the ... polyhedron, the leaf nodes represent the convex subpolyhedra, ...
    (comp.graphics.algorithms)
  • Re: 2D Line crossing Non-Convex Polyhedron
    ... You can just call it a "polygon" if it's 2D. ... The idea is that if there is an object inside the 2D polyhedron ... solutions for point and line segment versus convex polyhedra. ...
    (comp.graphics.algorithms)
  • bounding an infinate bounded convex set by polyhedra
    ... Suppose there's a bounded convex set of points in ... arbitrary precision by a convex polyhedron. ... distance beween the faces of polyhedron and the convex hull of the set ...
    (sci.math)
  • Re: Finding edges of a given polyhedra in 3D
    ... Tha whole task is to compute the area of the planar polygon created by ... The polyhedron is convex. ... I know coordinates of all the vertices of the convex polyhedron and I ... polyhedron - diagonals and edges) intercept that plane. ...
    (comp.theory)