tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::movement::DiagonalSteps< Rule > Struct Template Reference

#include <tess/topology/step_policy.h>

Static Public Attributes

static constexpr CornerRule corner_rule = Rule
static constexpr StepPolicyIdentity identity
static constexpr std::uint32_t cost_scale = 128
static constexpr std::uint32_t diagonal_step_multiplier = 181
static constexpr std::uint32_t maximum_step_multiplier

Detailed Description

template<CornerRule Rule = CornerRule::RequireBothClear>
struct tess::movement::DiagonalSteps< Rule >

Enables face steps and clearance-preserving two-axis diagonals.

Member Data Documentation

◆ identity

template<CornerRule Rule = CornerRule::RequireBothClear>
StepPolicyIdentity tess::movement::DiagonalSteps< Rule >::identity
staticconstexpr
Initial value:
=
Rule == CornerRule::RequireBothClear
? StepPolicyIdentity::DiagonalRequireBothClear
: StepPolicyIdentity::DiagonalRequireOneClear

◆ maximum_step_multiplier

template<CornerRule Rule = CornerRule::RequireBothClear>
std::uint32_t tess::movement::DiagonalSteps< Rule >::maximum_step_multiplier
staticconstexpr
Initial value:
=
diagonal_step_multiplier

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