FromPolicy< PolicyT > Struct Template Reference
This struct is used to conveniently convert from a policy to a geometric type. Example usage: More...
#include <Geometry.hh>
Public Types | |
enum | { Dim = PolicyT::Dim } |
using | Scalar = typename PolicyT::Scalar |
template<template< typename, std::size_t > class Type> | |
using | Use = Type< Scalar, Dim > |
Detailed Description
template<typename PolicyT>
struct gz::physics::FromPolicy< PolicyT >
This struct is used to conveniently convert from a policy to a geometric type. Example usage:
using AngularVector = FromPolicy<FeaturePolicy3d>::To<AngularVector>;
Member Typedef Documentation
◆ Scalar
using Scalar = typename PolicyT::Scalar |
◆ Use
Member Enumeration Documentation
◆ anonymous enum
The documentation for this struct was generated from the following file: