occ
Loading...
Searching...
No Matches
occ::io::XyzFileReader Struct Reference

#include <xyz.h>

Public Types

using Position = std::array< double, 3 >
 

Public Member Functions

 XyzFileReader (std::istream &)
 
 XyzFileReader (const std::string &)
 
OccInput as_occ_input () const
 
void update_occ_input (OccInput &) const
 

Static Public Member Functions

static bool is_likely_xyz_filename (const std::string &filename)
 

Public Attributes

std::vector< occ::core::Elementelements
 
std::vector< Positionpositions
 
std::string comment
 

Member Typedef Documentation

◆ Position

using occ::io::XyzFileReader::Position = std::array<double, 3>

Constructor & Destructor Documentation

◆ XyzFileReader() [1/2]

occ::io::XyzFileReader::XyzFileReader ( std::istream &  )

◆ XyzFileReader() [2/2]

occ::io::XyzFileReader::XyzFileReader ( const std::string &  )

Member Function Documentation

◆ as_occ_input()

OccInput occ::io::XyzFileReader::as_occ_input ( ) const

◆ is_likely_xyz_filename()

static bool occ::io::XyzFileReader::is_likely_xyz_filename ( const std::string &  filename)
static

◆ update_occ_input()

void occ::io::XyzFileReader::update_occ_input ( OccInput ) const

Member Data Documentation

◆ comment

std::string occ::io::XyzFileReader::comment

◆ elements

std::vector<occ::core::Element> occ::io::XyzFileReader::elements

◆ positions

std::vector<Position> occ::io::XyzFileReader::positions

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