Pyramid
Pyramid[{p1,…,p5}]
represents a filled pyramid with base {p1,…,p4} and top p5.
Details and Options
- Pyramid can be used as a geometric region and a graphics primitive.
- Pyramid represents a filled polyhedron given by the polygon faces {p4,p3,p2,p1}, {p1,p2,p5}, {p2,p3,p5}, {p3,p4,p5}, and {p4,p1,p5}.
- CanonicalizePolyhedron can be used to convert a pyramid to an explicit Polyhedron object.
- Pyramid can be used in Graphics3D.
- In graphics, the points pi can be Scaled and Dynamic expressions.
- Graphics rendering is affected by directives such as FaceForm, EdgeForm, Opacity, Texture, and color.
- The following options and settings can be used in graphics:
-
VertexColors Automatic vertex colors to be interpolated VertexNormals Automatic effective vertex normals for shading VertexTextureCoordinates None coordinates for textures
Examples
open allclose allScope (18)
Graphics (8)
Styling (3)
FaceForm and EdgeForm can be used to specify the styles of the faces and edges:
Apply a Texture to the faces:
Assign VertexColors to vertices:
Coordinates (3)
Specify coordinates by fractions of the plot range:
Specify scaled offsets from the ordinary coordinates:
Points can be Dynamic:
Regions (10)
Embedding dimension is the dimension of the space in which the pyramid lives:
Geometric dimension is the dimension of the shape itself:
Get conditions for membership:
The equidistance contours for a pyramid:
Nearest points to an enclosing sphere:
Integrate over a pyramid region:
Applications (2)
Properties & Relations (2)
A pyramid can be represented as the union of two tetrahedra:
Point index list of tetrahedra vertices:
ImplicitRegion can represent any Pyramid region:
Text
Wolfram Research (2014), Pyramid, Wolfram Language function, https://reference.wolfram.com/language/ref/Pyramid.html (updated 2019).
CMS
Wolfram Language. 2014. "Pyramid." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/Pyramid.html.
APA
Wolfram Language. (2014). Pyramid. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Pyramid.html