occ
Loading...
Searching...
No Matches
occ::core::PointCharge Class Reference

#include <point_charge.h>

Public Member Functions

 PointCharge (double charge, double x, double y, double z)
 
 PointCharge (double charge, const std::array< double, 3 > &pos)
 
 PointCharge (double charge, const Vec3 &pos)
 
double charge () const
 
void set_charge (double q)
 
const auto & position () const
 
void set_position (const Vec3 &pos)
 

Constructor & Destructor Documentation

◆ PointCharge() [1/3]

occ::core::PointCharge::PointCharge ( double  charge,
double  x,
double  y,
double  z 
)
inline

◆ PointCharge() [2/3]

occ::core::PointCharge::PointCharge ( double  charge,
const std::array< double, 3 > &  pos 
)
inline

◆ PointCharge() [3/3]

occ::core::PointCharge::PointCharge ( double  charge,
const Vec3 pos 
)
inline

Member Function Documentation

◆ charge()

double occ::core::PointCharge::charge ( ) const
inline

◆ position()

const auto & occ::core::PointCharge::position ( ) const
inline

◆ set_charge()

void occ::core::PointCharge::set_charge ( double  q)
inline

◆ set_position()

void occ::core::PointCharge::set_position ( const Vec3 pos)
inline

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