sch::STP_SmallSphere Class Reference

#include <sch/STP-BV/STP_SmallSphere.h>

Inheritance diagram for sch::STP_SmallSphere:
Collaboration diagram for sch::STP_SmallSphere:

Public Member Functions

SCH_API STP_SmallSphere ()
 
SCH_API STP_SmallSphere (Scalar radius, Point3 center)
 
SCH_API STP_SmallSphere (const STP_SmallSphere &s)
 
SCH_API ~STP_SmallSphere ()
 
SCH_API STP_SmallSphereoperator= (const STP_SmallSphere &s)
 
const SCH_API Point3getCenter () const
 
const SCH_API ScalargetRadius () const
 
SCH_API void setVVR (const std::vector< STP_VVR > &vvr)
 
virtual SCH_API void print () const
 
virtual SCH_API bool isHere (const Vector3 &v) const
 
virtual SCH_API bool isHereFarthestNeighbour (const Vector3 &v)
 
virtual SCH_API bool isHereFarthestNeighbourPrime (const Vector3 &v)
 
virtual SCH_API bool isHereFirstNeighbour (const Vector3 &v)
 
virtual SCH_API bool isHereFirstNeighbourPrime (const Vector3 &v, int idp)
 
virtual SCH_API bool isHereHybrid (const Vector3 &v, int idp)
 
virtual SCH_API int getNextBV (unsigned int id) const
 
virtual SCH_API Scalar supportH (const Vector3 &v) const
 
virtual SCH_API Point3 support (const Vector3 &v) const
 
virtual SCH_API bool ray_cast (const Point3 &source, const Point3 &target, Scalar &param, Vector3 &normal) const
 
virtual SCH_API STP_Featureclone () const
 
virtual SCH_API int getNextBVPrime () const
 
template<class Archive >
void save (Archive &ar, unsigned int) const
 
template<class Archive >
void load (Archive &ar, unsigned int)
 
- Public Member Functions inherited from sch::STP_Feature
virtual SCH_API ~STP_Feature (void)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Protected Member Functions

void updateVector ()
 
- Protected Member Functions inherited from sch::STP_Feature
 STP_Feature (void)
 

Protected Attributes

Scalar m_radius
 
Point3 m_center
 
std::vector< STP_VVRm_VVR
 
std::vector< int > m_nextBV
 
int m_nextBVPrime
 
STP_VVRm_neighbors
 
STP_VVRm_endneighbors
 
- Protected Attributes inherited from sch::STP_Feature
int m_nextBVPrime
 

Constructor & Destructor Documentation

◆ STP_SmallSphere() [1/3]

SCH_API sch::STP_SmallSphere::STP_SmallSphere ( )

◆ STP_SmallSphere() [2/3]

SCH_API sch::STP_SmallSphere::STP_SmallSphere ( Scalar  radius,
Point3  center 
)

◆ STP_SmallSphere() [3/3]

SCH_API sch::STP_SmallSphere::STP_SmallSphere ( const STP_SmallSphere s)

◆ ~STP_SmallSphere()

SCH_API sch::STP_SmallSphere::~STP_SmallSphere ( )

Member Function Documentation

◆ clone()

virtual SCH_API STP_Feature* sch::STP_SmallSphere::clone ( ) const
virtual

Implements sch::STP_Feature.

◆ getCenter()

const SCH_API Point3& sch::STP_SmallSphere::getCenter ( ) const

◆ getNextBV()

virtual SCH_API int sch::STP_SmallSphere::getNextBV ( unsigned int  id) const
virtual

Implements sch::STP_Feature.

◆ getNextBVPrime()

virtual SCH_API int sch::STP_SmallSphere::getNextBVPrime ( ) const
inlinevirtual

Implements sch::STP_Feature.

◆ getRadius()

const SCH_API Scalar& sch::STP_SmallSphere::getRadius ( ) const

◆ isHere()

virtual SCH_API bool sch::STP_SmallSphere::isHere ( const Vector3 v) const
virtual

Implements sch::STP_Feature.

◆ isHereFarthestNeighbour()

virtual SCH_API bool sch::STP_SmallSphere::isHereFarthestNeighbour ( const Vector3 v)
virtual

Implements sch::STP_Feature.

◆ isHereFarthestNeighbourPrime()

virtual SCH_API bool sch::STP_SmallSphere::isHereFarthestNeighbourPrime ( const Vector3 v)
virtual

Implements sch::STP_Feature.

◆ isHereFirstNeighbour()

virtual SCH_API bool sch::STP_SmallSphere::isHereFirstNeighbour ( const Vector3 v)
virtual

Implements sch::STP_Feature.

◆ isHereFirstNeighbourPrime()

virtual SCH_API bool sch::STP_SmallSphere::isHereFirstNeighbourPrime ( const Vector3 v,
int  idp 
)
virtual

Implements sch::STP_Feature.

◆ isHereHybrid()

virtual SCH_API bool sch::STP_SmallSphere::isHereHybrid ( const Vector3 v,
int  idp 
)
virtual

Implements sch::STP_Feature.

◆ load()

template<class Archive >
void sch::STP_SmallSphere::load ( Archive &  ar,
unsigned int   
)
inline

◆ operator=()

SCH_API STP_SmallSphere& sch::STP_SmallSphere::operator= ( const STP_SmallSphere s)

◆ print()

virtual SCH_API void sch::STP_SmallSphere::print ( ) const
virtual

Implements sch::STP_Feature.

◆ ray_cast()

virtual SCH_API bool sch::STP_SmallSphere::ray_cast ( const Point3 source,
const Point3 target,
Scalar param,
Vector3 normal 
) const
virtual

◆ save()

template<class Archive >
void sch::STP_SmallSphere::save ( Archive &  ar,
unsigned int   
) const
inline

◆ setVVR()

SCH_API void sch::STP_SmallSphere::setVVR ( const std::vector< STP_VVR > &  vvr)

◆ support()

virtual SCH_API Point3 sch::STP_SmallSphere::support ( const Vector3 v) const
virtual

Implements sch::STP_Feature.

◆ supportH()

virtual SCH_API Scalar sch::STP_SmallSphere::supportH ( const Vector3 v) const
virtual

◆ updateVector()

void sch::STP_SmallSphere::updateVector ( )
protected

Member Data Documentation

◆ m_center

Point3 sch::STP_SmallSphere::m_center
protected

◆ m_endneighbors

STP_VVR* sch::STP_SmallSphere::m_endneighbors
protected

◆ m_neighbors

STP_VVR* sch::STP_SmallSphere::m_neighbors
protected

◆ m_nextBV

std::vector<int> sch::STP_SmallSphere::m_nextBV
protected

◆ m_nextBVPrime

int sch::STP_SmallSphere::m_nextBVPrime
protected

◆ m_radius

Scalar sch::STP_SmallSphere::m_radius
protected

◆ m_VVR

std::vector<STP_VVR> sch::STP_SmallSphere::m_VVR
protected

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