Skip to content

Polygon3DBox ​

Polygons in space: Points for one, or Indices into a complex's points for many, each filled by its entry of FaceColors.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguagePolygon3DBox✓
Polygon3DBox(options)Polygons in space: Points for one, or Indices into a complex's points for many, each filled by its entry of FaceColors.
Typed signatures
TypePackageApplies
(expression*) -> boxesboxesalways

Domain: Boxes

Details
  • A Wolfram Polygon primitive in a Graphics3D.
  • Drawn back to front on each polygon's mean depth (the painter's algorithm), so overlapping surfaces interleave. EdgeForm is the outline, Opacity the fill's.

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InPolygon3DBox((Points,[[0,0,0],[1,0,0],[0,1,1]]))\mathrm{Polygon3DBox}((\mathrm{Points},\bigl\lbrack\bigl\lbrack0, 0, 0\bigr\rbrack, \bigl\lbrack1, 0, 0\bigr\rbrack, \bigl\lbrack0, 1, 1\bigr\rbrack\bigr\rbrack))OutPolygon3DBox((Points,[[0,0,0],[1,0,0],[0,1,1]]))\mathrm{Polygon3DBox}((\mathrm{Points},\bigl\lbrack\bigl\lbrack0, 0, 0\bigr\rbrack, \bigl\lbrack1, 0, 0\bigr\rbrack, \bigl\lbrack0, 1, 1\bigr\rbrack\bigr\rbrack))
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: Graphics3DBox, GraphicsComplex3DBox, PolygonBox