Skip to content

feat: template<class T> Motor : std::array<Quaternion<T>,2> type for orientation #2

@joneqdaniel

Description

@joneqdaniel

Problem statement

Add Motor type with operations for orientations.

Proposed solution

template<class T> struct Motor : std::array<Quaternion<T>,2>
{
        using Base = std::array<Quaternion<T>,2>;
        using Rotor = Quaternion<T>;
        using Screw = Quaternion<T>;
};

Alternatives considered

No response

Impact and compatibility

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions