RobWorkProject  23.9.11-
Public Member Functions | List of all members
BVTreeFactory::ShellAccessor< T > Struct Template Reference

Access GenericFace primitive of Shell. More...

#include <BVTreeFactory.hpp>

Inherits PrimArrayAccessor< rw::geometry::GenericFace >.

Public Member Functions

 ShellAccessor (rw::geometry::Shell::CPtr object)
 Constructor. More...
void getPrimitive (size_t faceIdx, rw::geometry::GenericFace &face) const
 Get primitive. More...
size_t getSize () const
 Get the number of primitives. More...
- Public Member Functions inherited from PrimArrayAccessor< rw::geometry::GenericFace >
virtual ~PrimArrayAccessor ()

Additional Inherited Members

- Public Types inherited from PrimArrayAccessor< rw::geometry::GenericFace >
typedef rw::geometry::GenericFace PRIMType
 Type of primitive.

Detailed Description

template<class T>
struct rw::proximity::BVTreeFactory::ShellAccessor< T >

Access GenericFace primitive of Shell.

Constructor & Destructor Documentation

◆ ShellAccessor()


object[in] the shell object.

Member Function Documentation

◆ getPrimitive()

void getPrimitive ( size_t  faceIdx,
rw::geometry::GenericFace face 
) const

Get primitive.

faceIdx[in] id of primitive.
face[out] the primitive. Look in rw/proximity/rwstrategy/BVTree.hpp

Implements PrimArrayAccessor< rw::geometry::GenericFace >.

◆ getSize()

size_t getSize ( ) const

Get the number of primitives.

the number of primitices.

Implements PrimArrayAccessor< rw::geometry::GenericFace >.

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