Prism

Prism[{p1,,p6}]

represents a filled prism connecting the triangles {p1,p2,p3} and {p4,p5,p6}.

Details and Options

Examples

open allclose all

Basic Examples  (3)

A prism:

A styled prism:

Volume and centroid:

Scope  (18)

Graphics  (8)

Specification  (2)

A single prism:

Multiple prisms:

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 prism lives:

Geometric dimension is the dimension of the shape itself:

Membership testing:

Get conditions for membership:

Volume:

Centroid:

Distance from a point:

The equidistance contours for a prism:

Signed distance from a point:

Nearest point in the region:

Nearest points to an enclosing sphere:

A prism is bounded:

Find its range:

Integrate over a prism region:

Optimize over a prism region:

Solve equations in a prism region:

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:

Neat Examples  (1)

Sweep a prism around an axis:

Wolfram Research (2014), Prism, Wolfram Language function, https://reference.wolfram.com/language/ref/Prism.html (updated 2019).

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

BibTeX

@misc{reference.wolfram_2023_prism, author="Wolfram Research", title="{Prism}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/Prism.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_prism, organization={Wolfram Research}, title={Prism}, year={2019}, url={https://reference.wolfram.com/language/ref/Prism.html}, note=[Accessed: 19-March-2024 ]}