BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Polyhedron Class Reference

A polyhedron, implementation class for use in IFormFactorPolyhedron. More...

Public Member Functions

 Polyhedron (const Polyhedron &)=delete
 
 Polyhedron (const PolyhedralTopology &topology, double z_bottom, const std::vector< kvector_t > &vertices)
 
void assert_platonic () const
 
double volume () const
 
double radius () const
 
const std::vector< kvector_t > & vertices ()
 
complex_t evaluate_for_q (const cvector_t &q) const
 needed for topZ, bottomZ computation More...
 
complex_t evaluate_centered (const cvector_t &q) const
 Returns the form factor F(q) of this polyhedron, with origin at z=0.
 

Detailed Description

A polyhedron, implementation class for use in IFormFactorPolyhedron.

Definition at line 24 of file Polyhedron.h.

Member Function Documentation

◆ evaluate_for_q()

complex_t Polyhedron::evaluate_for_q ( const cvector_t q) const

needed for topZ, bottomZ computation

Returns the form factor F(q) of this polyhedron, respecting the offset z_bottom.

Definition at line 123 of file Polyhedron.cpp.


The documentation for this class was generated from the following files: