Lagrange
Loading...
Searching...
No Matches
PolyscopeTrait< PolyscopeStructure > Struct Template Reference

Public Types

using PolyscopeType = std::decay_t<PolyscopeStructure>
 
using QuantityType
 

Static Public Attributes

static constexpr bool IsMesh = std::is_same_v<PolyscopeType, ::polyscope::SurfaceMesh>
 
static constexpr bool IsEdge = std::is_same_v<PolyscopeType, ::polyscope::CurveNetwork>
 

Member Typedef Documentation

◆ QuantityType

template<typename PolyscopeStructure>
using QuantityType
Initial value:
std::conditional_t<
IsMesh,
::polyscope::SurfaceMeshQuantity,
std::conditional_t<
IsEdge,
::polyscope::CurveNetworkQuantity,
::polyscope::PointCloudQuantity>>

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