+++ title = "PlatonicOctahedron" +++ ### PlatonicOctahedron A regular octahedron. #### Constructor ```python PlatonicOctahedron(L) ``` Parameters: - L, length of the edge #### Usage As for any other [Form factor](/ref/sample/particle/ff). #### Implementation Class [PlatonicOctahedron]({{% url-src %}}/Sample/HardParticle/Polyhedra.h) inherits from the interface class {{% ref-class "Sample/Particle" "Formfactor" %}}. Form factor computation is based on the generic form factor of a polyhedron provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp) against $$ V= \dfrac{\sqrt{2}}{3}L^3. $$ #### Related shapes More general: - [Bipyramid4](/ref/sample/particle/ff/hard/bipyramid4), if not regular and/or truncated. #### Example Scattering by uncorrelated, oriented octahedra for horizontal incidence: Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=PlatonicOctahedron`). #### History Introduced in BornAgain 1.20.