Wildmeshing Toolkit
wmtk::components::procedural::DiskOptions Class Reference

#include <DiskOptions.hpp>

Classes

struct  Coordinates
 

Public Member Functions

std::optional< std::string > get_coordinate_name () const
 

Static Public Member Functions

constexpr static auto name () -> std::string_view
 

Public Attributes

int64_t size
 
std::optional< Coordinatescoordinates
 

Friends

void to_json (nlohmann::json &nlohmann_json_j, const DiskOptions &nlohmann_json_t)
 
void from_json (const nlohmann::json &nlohmann_json_j, DiskOptions &nlohmann_json_t)
 

Detailed Description

Definition at line 8 of file DiskOptions.hpp.

Member Function Documentation

◆ get_coordinate_name()

std::optional<std::string> wmtk::components::procedural::DiskOptions::get_coordinate_name ( ) const
inline

Definition at line 22 of file DiskOptions.hpp.

References coordinates.

◆ name()

constexpr static auto wmtk::components::procedural::DiskOptions::name ( ) -> std::string_view
inlinestaticconstexpr

Definition at line 11 of file DiskOptions.hpp.

Friends And Related Function Documentation

◆ from_json

void from_json ( const nlohmann::json nlohmann_json_j,
DiskOptions nlohmann_json_t 
)
friend

Definition at line 37 of file DiskOptions.hpp.

◆ to_json

void to_json ( nlohmann::json nlohmann_json_j,
const DiskOptions nlohmann_json_t 
)
friend

Definition at line 30 of file DiskOptions.hpp.

Member Data Documentation

◆ coordinates

std::optional<Coordinates> wmtk::components::procedural::DiskOptions::coordinates

Definition at line 21 of file DiskOptions.hpp.

Referenced by get_coordinate_name(), and wmtk::components::procedural::make_mesh().

◆ size

int64_t wmtk::components::procedural::DiskOptions::size

Definition at line 12 of file DiskOptions.hpp.

Referenced by wmtk::components::procedural::make_mesh().


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