PolyhedronCoordinates

PolyhedronCoordinates[poly]

gives a list of coordinates in the polyhedron poly.

Details

  • PolyhedronCoordinates is also known as polyhedron vertex coordinates.
  • PolyhedronCoordinates is defined by the canonicalization performed in CanonicalizePolyhedron.
  • PolyhedronCoordinates gives a list of coordinates {p1,p2,}.
  • For a polyhedron with self-intersections, the resulting coordinate list will also include intersection points.
  • For a polyhedron defined with repeated coordinates, the resulting coordinate list removes duplicate coordinates.

Examples

open allclose all

Basic Examples  (1)

Get the vertex coordinates from a Polyhedron:

Scope  (3)

PolyhedronCoordinatesQ works on polyhedrons:

Tetrahedron:

Cube:

Polyhedron with holes:

Polyhedrons with disconnected components:

Properties & Relations  (2)

Using CanonicalizePolyhedron to get polyhedron coordinates:

A simple polyhedron has the same polyhedron coordinates as its OuterPolyhedron:

Introduced in 2019
 (12.0)