ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
larcfm::MovingPolygon3D Class Reference

#include <MovingPolygon3D.h>

Public Member Functions

 MovingPolygon3D (const MovingPolygon2D &horizpoly, double vspeed, double minalt, double maxalt)
 
 MovingPolygon3D (const Poly3D &p, const Velocity &v, double end)
 
 MovingPolygon3D (const Poly3D &p, const std::vector< Velocity > &v, double end)
 
Poly3D position (double t) const
 
Velocity velocity (int i) const
 
Velocity averageVelocity () const
 
MovingPolygon3D linear (double t) const
 
bool isStable () const
 
int size () const
 
std::string toString () const
 
MovingPolygon3D reverseOrder () const
 
const MovingPolygon2DgetHorizpoly () const
 
void setHorizpoly (const MovingPolygon2D &horizpoly)
 
double getMaxalt () const
 
void setMaxalt (double maxalt)
 
double getMinalt () const
 
void setMinalt (double minalt)
 
double getVspeed () const
 
void setVspeed (double vspeed)
 

Public Attributes

MovingPolygon2D horizpoly
 
double vspeed
 
double minalt
 
double maxalt
 

Detailed Description

A MovingPolygon3D contains a MovingPolygon2D (list of Vect2 vertices) and vertical information. It is structured to interface well with other PVS-oriented code

Member Function Documentation

◆ averageVelocity()

Velocity larcfm::MovingPolygon3D::averageVelocity ( ) const

Return the average Velocity (at time 0).

Returns
velocity

◆ position()

Poly3D larcfm::MovingPolygon3D::position ( double  t) const

Polygon "location" at time t

Parameters
ttime of interest
Returns
a polygon at time t

◆ velocity()

Velocity larcfm::MovingPolygon3D::velocity ( int  i) const

Initial velocity for vertex i

Parameters
iindex
Returns
velocity

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