Questions tagged [polyhedra]

84 questions
0
votes
0 answers

Three.js: polyhedron click (raycaster intersect)

I'm making a Three.js application and I want to catch clicks on objects. When I create cube or sphere everything is ok, but I fail with polyhedron - Raycaster.intersectObjects() returns empty result. My code is below (see click events in…
Somerussian
  • 381
  • 4
  • 17
0
votes
2 answers

Distance from the core of a characteristic function game (between a point and an n-dimensional closed convex polyhedron)

In transferable utility characteristic function games (cooperative game theory), the most famous solution concept is the core of the game defined as the set of feasible payoff allocations that cannot be improved upon by any coalition. Geometrically…
Keyhanimo
  • 15
  • 6
0
votes
1 answer

CGAL segmentation fault

I tried to run this code to display a 3D mesh output For some strange reason, The output is displayed for the nf and number of vertices, but it gives a segmentation fault after that; The Moar output line is not written to std. Any idea why? #include…
0
votes
1 answer

CGAL:: Is there a fast way to produce the intersection of two polyhedra?

For the simulation of moving obstacles in a fluid I need to calculate the intersecting volume of a parallelepiped and a cube as well as arbitrary polyhedron and a cube. I am using Nef_polyhedron of the CGAL library. Since I have to do around…
0
votes
1 answer

Indexes for triangles of dodecahedron centered at the origin

Wikipedia says that dodecahedron at the origin has vertices with this coordinates(x,y,z): (±1, ±1, ±1) (0, ±1/φ, ±φ) (±1/φ, ±φ, 0) (±φ, 0, ±1/φ) where φ is golden ratio (φ = (1 + √5) / 2 ≈ 1.618 ) Let's say that I'll have this vertexes…
user1097772
  • 3,499
  • 15
  • 59
  • 95
-1
votes
0 answers

How to cut a concave polyhedron A, using a convex polyhedron B whose vertex set is a subset of B?

I am working on polyhedron convex decomposition. I try to use a limited plane to cut my polyhedron. The way I thought of is to construct a convex polyhedron along the limited plane normal vector. However, i meet some trouble. My plan is below. I…
Mengyu Chen
  • 137
  • 6
-1
votes
1 answer

How do I calculate the fourth vertex of a tetrahedron given the other three?

I want to calculate the fourth vertex of a regular tetrahedron. I have the coordinates {0, 0, Sqrt[2/3] - 1/(2 Sqrt[6])}, {-(1/(2 Sqrt[3])), -(1/2), -(1/(2 Sqrt[6]))} and {-(1/(2 Sqrt[3])), 1/2, -(1/(2 Sqrt[6]))} Can anybody please help?
-1
votes
1 answer

Finding the vertices of a given polytope

I'm looking for a C library that can return the vertices of a polytope.
-3
votes
1 answer

Calculate surface area and normal for each face of an arbitrary hexahedron

I am trying to find out the surface area of each of the faces of a cube and the corresponding outward unit normals. This operation is done on a finite element mesh, so I have transformed each surface of the cube into the isoparametric form using…
1 2 3 4 5
6