GenGeo  1.1
SphereObj Class Reference

#include <SphereObj.h>

Inheritance diagram for SphereObj:
Collaboration diagram for SphereObj:

Public Member Functions

void setBias (int)
void insert (Vector3 pos, double radius, MNTable3D *ntable, int, int)
int bias ()
- Public Member Functions inherited from Shape
 Shape ()
void makeOrientationRandom (int i)
int useRandomOrientation ()
void setRandomOrientation ()
void setRandomPitch ()
void setRandomYaw ()
void setRandomRoll ()
Vector3 rotatePoint (Vector3 point)
void setPitch (double)
double getPitch ()
void setYaw (double)
double getYaw ()
void setRoll (double)
double getRoll ()
void setBondTag (int)
int getBondTag ()
void setParticleTag (int)
int getParticleTag ()
 ~Shape ()

Protected Attributes

int bias_factor
- Protected Attributes inherited from Shape
double pitch
double yaw
double roll
int bias_factor
int randomOrientation
int bondTag
int particleTag

Member Function Documentation

int SphereObj::bias ( )

Show the bias of a given shape (ie how likely it is to occur. Note that the function must return a deterministic value.

Reimplemented from Shape.

References bias_factor.

void SphereObj::insert ( Vector3  pos,
double  radius,
MNTable3D ntable,
int  tag,
int  id 
void SphereObj::setBias ( int  i)

Set the bias of the given shape

biasthe bias of the shape

Reimplemented from Shape.

References bias_factor.

Member Data Documentation

int SphereObj::bias_factor

Referenced by bias(), and setBias().

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