ProlateHyperspheroid.h
ProlateHyperspheroid(unsigned int n, const double focus1[], const double focus2[])
The description of an n-dimensional prolate hyperspheroid.
Definition: ProlateHyperspheroid.cpp:85
void transform(const double sphere[], double phs[]) const
Transform a point from a sphere to PHS. The return variable phs is expected to already exist.
Definition: ProlateHyperspheroid.cpp:130
bool isInPhs(const double point[]) const
Check if the given point lies in the PHS.
Definition: ProlateHyperspheroid.cpp:143
double getPathLength(const double point[]) const
Calculate length of a line that originates from one focus, passes through the given point,...
Definition: ProlateHyperspheroid.cpp:193
void setTransverseDiameter(double transverseDiameter)
Set the transverse diameter of the PHS.
Definition: ProlateHyperspheroid.cpp:107
unsigned int getDimension() const
The state dimension of the PHS.
Definition: ProlateHyperspheroid.cpp:199
unsigned int getPhsDimension() const
The dimension of the PHS.
Definition: ProlateHyperspheroid.cpp:165
bool isOnPhs(const double point[]) const
Check if the given point lies on the PHS.
Definition: ProlateHyperspheroid.cpp:154
double getMinTransverseDiameter() const
The minimum transverse diameter of the PHS, i.e., the distance between the foci.
Definition: ProlateHyperspheroid.cpp:188
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:52