Public Member Functions | Protected Attributes
srs_env_model::CTestingSphere Class Reference

#include <testing_sphere.h>

Inheritance diagram for srs_env_model::CTestingSphere:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CTestingSphere ()
 Simple constructor.
 CTestingSphere (double x, double y, double z, double radius)
 Initializing constructor.
virtual bool isIn (double x, double y, double z)
 Test point.
void set (double x, double y, double z, double radius)
 Set sphere parameters.

Protected Attributes

double m_radiussq
 Sphere radius squared.
double m_x
 Sphere position.
double m_y
double m_z

Detailed Description

Test if point is in the sphere

Definition at line 38 of file testing_sphere.h.


Constructor & Destructor Documentation

Simple constructor.

Definition at line 42 of file testing_sphere.h.

srs_env_model::CTestingSphere::CTestingSphere ( double  x,
double  y,
double  z,
double  radius 
) [inline]

Initializing constructor.

Definition at line 45 of file testing_sphere.h.


Member Function Documentation

virtual bool srs_env_model::CTestingSphere::isIn ( double  x,
double  y,
double  z 
) [inline, virtual]

Test point.

Implements srs_env_model::CTestingObjectBase.

Definition at line 54 of file testing_sphere.h.

void srs_env_model::CTestingSphere::set ( double  x,
double  y,
double  z,
double  radius 
) [inline]

Set sphere parameters.

Definition at line 50 of file testing_sphere.h.


Member Data Documentation

Sphere radius squared.

Definition at line 62 of file testing_sphere.h.

Sphere position.

Definition at line 65 of file testing_sphere.h.

Definition at line 65 of file testing_sphere.h.

Definition at line 65 of file testing_sphere.h.


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


srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:50:51