Public Member Functions | Public Attributes | List of all members
fcl::CostSource< S > Struct Template Reference

Cost source describes an area with a cost. The area is described by an AABB region. More...

#include <cost_source.h>

Public Member Functions

 CostSource ()
 
 CostSource (const AABB< S > &aabb, S cost_density_)
 
 CostSource (const Vector3< S > &aabb_min_, const Vector3< S > &aabb_max_, S cost_density_)
 
bool operator< (const CostSource &other) const
 

Public Attributes

Vector3< S > aabb_max
 aabb upper bound More...
 
Vector3< S > aabb_min
 aabb lower bound More...
 
cost_density
 cost density in the AABB region More...
 
total_cost
 

Detailed Description

template<typename S>
struct fcl::CostSource< S >

Cost source describes an area with a cost. The area is described by an AABB region.

Definition at line 49 of file cost_source.h.

Constructor & Destructor Documentation

◆ CostSource() [1/3]

template<typename S >
fcl::CostSource< S >::CostSource ( const Vector3< S > &  aabb_min_,
const Vector3< S > &  aabb_max_,
cost_density_ 
)

Definition at line 52 of file cost_source-inl.h.

◆ CostSource() [2/3]

template<typename S >
fcl::CostSource< S >::CostSource ( const AABB< S > &  aabb,
cost_density_ 
)

Definition at line 68 of file cost_source-inl.h.

◆ CostSource() [3/3]

template<typename S >
fcl::CostSource< S >::CostSource

Definition at line 79 of file cost_source-inl.h.

Member Function Documentation

◆ operator<()

template<typename S >
bool fcl::CostSource< S >::operator< ( const CostSource< S > &  other) const

Definition at line 86 of file cost_source-inl.h.

Member Data Documentation

◆ aabb_max

template<typename S >
Vector3<S> fcl::CostSource< S >::aabb_max

aabb upper bound

Definition at line 55 of file cost_source.h.

◆ aabb_min

template<typename S >
Vector3<S> fcl::CostSource< S >::aabb_min

aabb lower bound

Definition at line 52 of file cost_source.h.

◆ cost_density

template<typename S >
S fcl::CostSource< S >::cost_density

cost density in the AABB region

Definition at line 58 of file cost_source.h.

◆ total_cost

template<typename S >
S fcl::CostSource< S >::total_cost

Definition at line 60 of file cost_source.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50