Classes | List of all members
orgQhull::QhullHyperplane Class Reference

#include <QhullHyperplane.h>

Classes

struct  PrintHyperplane
 

Public Member Functions

Construct
 QhullHyperplane ()
 
 QhullHyperplane (const Qhull &q)
 
 QhullHyperplane (const Qhull &q, int hyperplaneDimension, coordT *c, coordT hyperplaneOffset)
 
 QhullHyperplane (QhullQh *qqh)
 
 QhullHyperplane (QhullQh *qqh, int hyperplaneDimension, coordT *c, coordT hyperplaneOffset)
 
 QhullHyperplane (const QhullHyperplane &other)
 
QhullHyperplaneoperator= (const QhullHyperplane &other)
 
 ~QhullHyperplane ()
 
Conversions –

Includes offset at end

std::vector< coordTtoStdVector () const
 
GetSet
const coordTcoordinates () const
 
coordTcoordinates ()
 
void defineAs (int hyperplaneDimension, coordT *c, coordT hyperplaneOffset)
 
void defineAs (QhullHyperplane &other)
 Creates an alias to other using the same qh_qh. More...
 
int dimension () const
 
bool isValid () const
 
coordT offset () const
 
bool operator== (const QhullHyperplane &other) const
 
bool operator!= (const QhullHyperplane &other) const
 
const coordToperator[] (int idx) const
 
coordToperator[] (int idx)
 
void setCoordinates (coordT *c)
 
void setDimension (int hyperplaneDimension)
 
void setOffset (coordT hyperplaneOffset)
 
iterator
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
const_iterator constEnd () const
 
int count ()
 
iterator end ()
 
const_iterator end () const
 
size_t size ()
 
Methods
double distance (const QhullPoint &p) const
 
double hyperplaneAngle (const QhullHyperplane &other) const
 
double norm () const
 
IO
PrintHyperplane print (const char *message) const
 
PrintHyperplane print (const char *message, const char *offsetMessage) const
 

Private Attributes

Fields
coordThyperplane_coordinates
 Normal to hyperplane. facetT.normal is normalized to 1.0. More...
 
QhullQhqh_qh
 qhT for distanceEpsilon() in operator== More...
 
coordT hyperplane_offset
 Distance from hyperplane to origin. More...
 
int hyperplane_dimension
 Dimension of hyperplane. More...
 

Subtypes

const typedef coordTiterator
 
const typedef coordTconst_iterator
 
typedef QhullHyperplane::iterator Iterator
 
typedef QhullHyperplane::const_iterator ConstIterator
 

Detailed Description

Definition at line 39 of file QhullHyperplane.h.

Member Typedef Documentation

◆ ConstIterator

Definition at line 45 of file QhullHyperplane.h.

◆ Iterator

Definition at line 44 of file QhullHyperplane.h.

Constructor & Destructor Documentation

◆ QhullHyperplane() [1/6]

orgQhull::QhullHyperplane::QhullHyperplane ( )
inline

Definition at line 56 of file QhullHyperplane.h.

◆ QhullHyperplane() [2/6]

orgQhull::QhullHyperplane::QhullHyperplane ( const Qhull q)
explicit

Definition at line 31 of file QhullHyperplane.cpp.

◆ QhullHyperplane() [3/6]

orgQhull::QhullHyperplane::QhullHyperplane ( const Qhull q,
int  hyperplaneDimension,
coordT c,
coordT  hyperplaneOffset 
)

Definition at line 40 of file QhullHyperplane.cpp.

◆ QhullHyperplane() [4/6]

orgQhull::QhullHyperplane::QhullHyperplane ( QhullQh qqh)
inlineexplicit

Definition at line 59 of file QhullHyperplane.h.

◆ QhullHyperplane() [5/6]

orgQhull::QhullHyperplane::QhullHyperplane ( QhullQh qqh,
int  hyperplaneDimension,
coordT c,
coordT  hyperplaneOffset 
)
inline

Definition at line 60 of file QhullHyperplane.h.

◆ QhullHyperplane() [6/6]

orgQhull::QhullHyperplane::QhullHyperplane ( const QhullHyperplane other)
inline

Definition at line 62 of file QhullHyperplane.h.

◆ ~QhullHyperplane()

orgQhull::QhullHyperplane::~QhullHyperplane ( )
inline

Definition at line 65 of file QhullHyperplane.h.

Member Function Documentation

◆ begin() [1/2]

iterator orgQhull::QhullHyperplane::begin ( )
inline

Definition at line 95 of file QhullHyperplane.h.

◆ begin() [2/2]

const_iterator orgQhull::QhullHyperplane::begin ( ) const
inline

Definition at line 96 of file QhullHyperplane.h.

◆ constBegin()

const_iterator orgQhull::QhullHyperplane::constBegin ( ) const
inline

Definition at line 97 of file QhullHyperplane.h.

◆ constEnd()

const_iterator orgQhull::QhullHyperplane::constEnd ( ) const
inline

Definition at line 98 of file QhullHyperplane.h.

◆ coordinates() [1/2]

coordT* orgQhull::QhullHyperplane::coordinates ( )
inline

Definition at line 79 of file QhullHyperplane.h.

◆ coordinates() [2/2]

const coordT* orgQhull::QhullHyperplane::coordinates ( ) const
inline

Definition at line 78 of file QhullHyperplane.h.

◆ count()

int orgQhull::QhullHyperplane::count ( )
inline

Definition at line 99 of file QhullHyperplane.h.

◆ defineAs() [1/2]

void orgQhull::QhullHyperplane::defineAs ( int  hyperplaneDimension,
coordT c,
coordT  hyperplaneOffset 
)
inline

Definition at line 80 of file QhullHyperplane.h.

◆ defineAs() [2/2]

void orgQhull::QhullHyperplane::defineAs ( QhullHyperplane other)
inline

Creates an alias to other using the same qh_qh.

Definition at line 82 of file QhullHyperplane.h.

◆ dimension()

int orgQhull::QhullHyperplane::dimension ( ) const
inline

Definition at line 83 of file QhullHyperplane.h.

◆ distance()

double orgQhull::QhullHyperplane::distance ( const QhullPoint p) const

Return distance from point to hyperplane. If greater than zero, the point is above the facet (i.e., outside).

Definition at line 97 of file QhullHyperplane.cpp.

◆ end() [1/2]

iterator orgQhull::QhullHyperplane::end ( )
inline

Definition at line 100 of file QhullHyperplane.h.

◆ end() [2/2]

const_iterator orgQhull::QhullHyperplane::end ( ) const
inline

Definition at line 101 of file QhullHyperplane.h.

◆ hyperplaneAngle()

double orgQhull::QhullHyperplane::hyperplaneAngle ( const QhullHyperplane other) const

Definition at line 137 of file QhullHyperplane.cpp.

◆ isValid()

bool orgQhull::QhullHyperplane::isValid ( ) const
inline

Definition at line 84 of file QhullHyperplane.h.

◆ norm()

double orgQhull::QhullHyperplane::norm ( ) const

Definition at line 149 of file QhullHyperplane.cpp.

◆ offset()

coordT orgQhull::QhullHyperplane::offset ( ) const
inline

Definition at line 85 of file QhullHyperplane.h.

◆ operator!=()

bool orgQhull::QhullHyperplane::operator!= ( const QhullHyperplane other) const
inline

Definition at line 87 of file QhullHyperplane.h.

◆ operator=()

QhullHyperplane& orgQhull::QhullHyperplane::operator= ( const QhullHyperplane other)
inline

Definition at line 64 of file QhullHyperplane.h.

◆ operator==()

bool orgQhull::QhullHyperplane::operator== ( const QhullHyperplane other) const

Return true if equal If qh_qh defined, tests qh.distanceEpsilon and qh.angleEpsilon otherwise, tests equal coordinates and offset

Definition at line 72 of file QhullHyperplane.cpp.

◆ operator[]() [1/2]

coordT& orgQhull::QhullHyperplane::operator[] ( int  idx)
inline

Definition at line 89 of file QhullHyperplane.h.

◆ operator[]() [2/2]

const coordT& orgQhull::QhullHyperplane::operator[] ( int  idx) const
inline

Definition at line 88 of file QhullHyperplane.h.

◆ print() [1/2]

PrintHyperplane orgQhull::QhullHyperplane::print ( const char *  message) const
inline

Definition at line 116 of file QhullHyperplane.h.

◆ print() [2/2]

PrintHyperplane orgQhull::QhullHyperplane::print ( const char *  message,
const char *  offsetMessage 
) const
inline

Definition at line 117 of file QhullHyperplane.h.

◆ setCoordinates()

void orgQhull::QhullHyperplane::setCoordinates ( coordT c)
inline

Definition at line 90 of file QhullHyperplane.h.

◆ setDimension()

void orgQhull::QhullHyperplane::setDimension ( int  hyperplaneDimension)
inline

Definition at line 91 of file QhullHyperplane.h.

◆ setOffset()

void orgQhull::QhullHyperplane::setOffset ( coordT  hyperplaneOffset)
inline

Definition at line 92 of file QhullHyperplane.h.

◆ size()

size_t orgQhull::QhullHyperplane::size ( )
inline

Definition at line 102 of file QhullHyperplane.h.

◆ toStdVector()

std::vector< coordT > orgQhull::QhullHyperplane::toStdVector ( ) const

Definition at line 54 of file QhullHyperplane.cpp.

Member Data Documentation

◆ const_iterator

const typedef coordT* orgQhull::QhullHyperplane::const_iterator

Definition at line 43 of file QhullHyperplane.h.

◆ hyperplane_coordinates

coordT* orgQhull::QhullHyperplane::hyperplane_coordinates
private

Normal to hyperplane. facetT.normal is normalized to 1.0.

Definition at line 49 of file QhullHyperplane.h.

◆ hyperplane_dimension

int orgQhull::QhullHyperplane::hyperplane_dimension
private

Dimension of hyperplane.

Definition at line 52 of file QhullHyperplane.h.

◆ hyperplane_offset

coordT orgQhull::QhullHyperplane::hyperplane_offset
private

Distance from hyperplane to origin.

Definition at line 51 of file QhullHyperplane.h.

◆ iterator

const typedef coordT* orgQhull::QhullHyperplane::iterator

Definition at line 42 of file QhullHyperplane.h.

◆ qh_qh

QhullQh* orgQhull::QhullHyperplane::qh_qh
private

qhT for distanceEpsilon() in operator==

Definition at line 50 of file QhullHyperplane.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00