WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Geometry Struct Reference

#include <webcface/geometry.h>

Inheritance diagram for Geometry:
[legend]

Public Member Functions

 Geometry ()
 
 Geometry (GeometryType type, const std::vector< double > &properties)
 
 Geometry (GeometryType type, std::vector< double > &&properties)
 
template<typename GeometryDerived , std::enable_if_t< std::is_constructible_v< GeometryDerived, Geometry & >, std::nullptr_t > = nullptr>
GeometryDerived as () const
 各種Geometry型に変換
 
bool operator== (const Geometry &other) const
 
bool operator!= (const Geometry &other) const
 

Public Attributes

GeometryType type
 
std::vector< double > properties
 

Constructor & Destructor Documentation

◆ Geometry() [1/3]

Geometry ( )
inline

◆ Geometry() [2/3]

Geometry ( GeometryType  type,
const std::vector< double > &  properties 
)
inline

◆ Geometry() [3/3]

Geometry ( GeometryType  type,
std::vector< double > &&  properties 
)
inline

Member Function Documentation

◆ as()

template<typename GeometryDerived , std::enable_if_t< std::is_constructible_v< GeometryDerived, Geometry & >, std::nullptr_t > = nullptr>
GeometryDerived as ( ) const
inline

各種Geometry型に変換

as<Line>(), as<Plane>() などとしてそれぞれのgeometry型のプロパティを取得する。

◆ operator!=()

bool operator!= ( const Geometry other) const
inline

◆ operator==()

bool operator== ( const Geometry other) const
inline

Member Data Documentation

◆ properties

std::vector<double> properties

◆ type


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