Public Member Functions | Public Attributes | List of all members
LSS Class Reference

#include <IceLSS.h>

Inheritance diagram for LSS:
Inheritance graph
[legend]

Public Member Functions

void ComputeOBB (OBB &box)
 
inline_ bool Contains (const Point &pt) const
 
inline_ bool Contains (const Sphere &sphere)
 
inline_ bool Contains (const LSS &lss)
 
inline_ LSS ()
 Constructor. More...
 
inline_ LSS (const Segment &seg, float radius)
 Constructor. More...
 
inline_ ~LSS ()
 Destructor. More...
 
- Public Member Functions inherited from Segment
inline_ Point ComputeDirection () const
 
inline_ void ComputeDirection (Point &dir) const
 
inline_ float ComputeLength () const
 
inline_ void ComputePoint (Point &pt, float t) const
 
inline_ float ComputeSquareLength () const
 
inline_ float Distance (const Point &point, float *t=null) const
 
inline_ const PointGetOrigin () const
 
inline_ Segment ()
 Constructor. More...
 
inline_ Segment (const Point &p0, const Point &p1)
 Constructor. More...
 
inline_ Segment (const Segment &seg)
 Copy constructor. More...
 
inline_ void SetOriginDirection (const Point &origin, const Point &direction)
 
float SquareDistance (const Point &point, float *t=null) const
 
inline_ ~Segment ()
 Destructor. More...
 

Public Attributes

float mRadius
 Sphere radius. More...
 
- Public Attributes inherited from Segment
Point mP0
 Start of segment. More...
 
Point mP1
 End of segment. More...
 

Detailed Description

Definition at line 15 of file IceLSS.h.

Constructor & Destructor Documentation

◆ LSS() [1/2]

inline_ LSS::LSS ( )
inline

Constructor.

Definition at line 19 of file IceLSS.h.

◆ LSS() [2/2]

inline_ LSS::LSS ( const Segment seg,
float  radius 
)
inline

Constructor.

Definition at line 21 of file IceLSS.h.

◆ ~LSS()

inline_ LSS::~LSS ( )
inline

Destructor.

Definition at line 23 of file IceLSS.h.

Member Function Documentation

◆ ComputeOBB()

void LSS::ComputeOBB ( OBB box)

Computes an OBB surrounding the LSS.

Parameters
box[out] the OBB

◆ Contains() [1/3]

inline_ bool LSS::Contains ( const Point pt) const
inline

Tests if a point is contained within the LSS.

Parameters
pt[in] the point to test
Returns
true if inside the LSS
Warning
point and LSS must be in same space

Definition at line 41 of file IceLSS.h.

◆ Contains() [2/3]

inline_ bool LSS::Contains ( const Sphere sphere)
inline

Tests if a sphere is contained within the LSS.

Parameters
sphere[in] the sphere to test
Returns
true if inside the LSS
Warning
sphere and LSS must be in same space

Definition at line 51 of file IceLSS.h.

◆ Contains() [3/3]

inline_ bool LSS::Contains ( const LSS lss)
inline

Tests if an LSS is contained within the LSS.

Parameters
lss[in] the LSS to test
Returns
true if inside the LSS
Warning
both LSS must be in same space

Definition at line 66 of file IceLSS.h.

Member Data Documentation

◆ mRadius

float LSS::mRadius

Sphere radius.

Definition at line 72 of file IceLSS.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:07