INET Framework for OMNeT++/OMNEST
|
#include <PolyhedronPoint.h>
Public Member Functions | |
std::vector< PolyhedronFace * > & | getConflictVector () |
bool | isSelected () const |
void | setToSelected () |
bool | hasConflicts () const |
void | addConflictFace (PolyhedronFace *face) |
PolyhedronPoint (const Coord &point) | |
PolyhedronPoint () | |
Public Member Functions inherited from inet::Coord | |
Coord () | |
Default constructor. More... | |
Coord (double x, double y, double z=0.0) | |
Initializes a coordinate. More... | |
Coord (const Coord &other) | |
Initializes coordinate from other coordinate. More... | |
std::string | info () const override |
Returns a string with the value of the coordinate. More... | |
Coord & | operator*= (double f) |
Multiplies this coordinate vector by a real number. More... | |
Coord & | operator/= (double f) |
Divides this coordinate vector by a real number. More... | |
Coord & | operator+= (const Coord &a) |
Adds coordinate vector 'a' to this. More... | |
float | operator* (const Coord &v) const |
Dot product. More... | |
Coord | operator% (const Coord &v) const |
Cross product. More... | |
Coord & | operator= (const Coord &other) |
Assigns coordinate vector 'other' to this. More... | |
Coord & | operator-= (const Coord &a) |
Subtracts coordinate vector 'a' from this. More... | |
double | distance (const Coord &a) const |
Returns the distance to Coord 'a'. More... | |
double | sqrdist (const Coord &a) const |
Returns distance^2 to Coord 'a' (omits calling square root). More... | |
double | sqrTorusDist (const Coord &b, const Coord &size) const |
Returns the squared distance on a torus of this to Coord 'b' (omits calling square root). More... | |
double | squareLength () const |
Returns the square of the length of this Coords position vector. More... | |
double | length () const |
Returns the length of this Coords position vector. More... | |
void | normalize () |
Updates the length of this position vector to be 1. More... | |
bool | isInBoundary (const Coord &lowerBound, const Coord &upperBound) const |
Checks if this coordinate is inside a specified rectangle. More... | |
bool | isNil () const |
bool | isUnspecified () const |
Returns true if this coordinate is unspecified. More... | |
Coord | min (const Coord &a) |
Returns the minimal coordinates. More... | |
Coord | max (const Coord &a) |
Returns the maximal coordinates. More... | |
double | angle (const Coord &a) |
Returns the angle between the two vectors. More... | |
Protected Attributes | |
std::vector< PolyhedronFace * > | fConflict |
bool | selected |
Additional Inherited Members | |
Public Attributes inherited from inet::Coord | |
double | x |
double | y |
double | z |
Static Public Attributes inherited from inet::Coord | |
static const Coord | NIL = Coord(NaN, NaN, NaN) |
Constant with all values set to 0. More... | |
static const Coord | ZERO = Coord(0.0, 0.0, 0.0) |
static const Coord | X_AXIS = Coord(1.0, 0.0, 0.0) |
static const Coord | Y_AXIS = Coord(0.0, 1.0, 0.0) |
static const Coord | Z_AXIS = Coord(0.0, 0.0, 1.0) |
inet::PolyhedronPoint::PolyhedronPoint | ( | const Coord & | point | ) |
inet::PolyhedronPoint::PolyhedronPoint | ( | ) |
|
inline |
Referenced by inet::Polyhedron::setContlictListForNewFace().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by inet::Polyhedron::createInitialTetrahedron().
|
protected |
|
protected |
Referenced by PolyhedronPoint().