Prism
Prism[{p1,…,p6}]
represents a filled prism connecting the triangles {p1,p2,p3} and {p4,p5,p6}.
Details and Options
- Prism can be used as a geometric region and a graphics primitive.
- Prism represents a filled polyhedron given by the polygon faces {p1,p3,p6,p4}, {p2,p1,p4,p5}, {p6,p3,p2,p5}, {p1,p2,p3}, and {p4,p6,p5}.
- CanonicalizePolyhedron can be used to convert a prism to an explicit Polyhedron object.
- Prism 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:
Properties & Relations (2)
A prism can be represented as the union of three tetrahedra:
Point index list of tetrahedra vertices:
ImplicitRegion can represent any Prism region:
Text
Wolfram Research (2014), Prism, Wolfram Language function, https://reference.wolfram.com/language/ref/Prism.html (updated 2019).
CMS
Wolfram Language. 2014. "Prism." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/Prism.html.
APA
Wolfram Language. (2014). Prism. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Prism.html