Antkeeper  0.0.1
Public Member Functions | List of all members
ik_goal Class Reference

IK goal. More...

#include <ik-goal.hpp>

Public Member Functions

void set_solver (std::shared_ptr< ik_solver > solver) noexcept
 Sets the solver of the IK goal. More...
 
void set_center (const math::fvec3 &center) noexcept
 Sets the center of the IK goal. More...
 
void set_radius (float radius) noexcept
 Sets the radius of the IK goal. More...
 
const std::shared_ptr< ik_solver > & get_solver () const noexcept
 Returns the solver of the IK goal. More...
 
const math::fvec3get_center () const noexcept
 Returns the center of the IK goal. More...
 
float get_radius () const noexcept
 Returns the radius of the IK goal. More...
 

Detailed Description

IK goal.

Definition at line 30 of file ik-goal.hpp.

Member Function Documentation

◆ get_center()

const math::fvec3& ik_goal::get_center ( ) const
inlinenoexcept

Returns the center of the IK goal.

Definition at line 71 of file ik-goal.hpp.

◆ get_radius()

float ik_goal::get_radius ( ) const
inlinenoexcept

Returns the radius of the IK goal.

Definition at line 77 of file ik-goal.hpp.

◆ get_solver()

const std::shared_ptr<ik_solver>& ik_goal::get_solver ( ) const
inlinenoexcept

Returns the solver of the IK goal.

Definition at line 65 of file ik-goal.hpp.

◆ set_center()

void ik_goal::set_center ( const math::fvec3 center)
inlinenoexcept

Sets the center of the IK goal.

Parameters
centerGoal center, in world-space.

Definition at line 48 of file ik-goal.hpp.

◆ set_radius()

void ik_goal::set_radius ( float  radius)
inlinenoexcept

Sets the radius of the IK goal.

Parameters
radiusGoal radius.

Definition at line 58 of file ik-goal.hpp.

◆ set_solver()

void ik_goal::set_solver ( std::shared_ptr< ik_solver solver)
inlinenoexcept

Sets the solver of the IK goal.

Parameters
solverGoal solver.

Definition at line 38 of file ik-goal.hpp.


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