geometric resolution in m, points closer than that are assumed equal
More...
#include <VICUS_NetworkLine.h>
|
static double | distanceBetweenPoints (const IBKMK::Vector3D &point1, const IBKMK::Vector3D &point2) |
|
static bool | pointsMatch (const IBK::point2D< double > &point1, const IBK::point2D< double > &point2) |
|
|
IBKMK::Vector3D | m_a |
|
IBKMK::Vector3D | m_b |
|
geometric resolution in m, points closer than that are assumed equal
◆ NetworkLine() [1/2]
VICUS::NetworkLine::NetworkLine |
( |
const IBKMK::Vector3D & |
p1, |
|
|
const IBKMK::Vector3D & |
p2 |
|
) |
| |
|
inline |
◆ NetworkLine() [2/2]
VICUS::NetworkLine::NetworkLine |
( |
const NetworkEdge & |
e | ) |
|
|
inline |
◆ containsPoint()
bool VICUS::NetworkLine::containsPoint |
( |
const IBKMK::Vector3D & |
point | ) |
const |
determines wether the given point is on the line, between the determining points but does not match any of the determining points
◆ distanceBetweenPoints()
double VICUS::NetworkLine::distanceBetweenPoints |
( |
const IBKMK::Vector3D & |
point1, |
|
|
const IBKMK::Vector3D & |
point2 |
|
) |
| |
|
static |
retruns distance between two given points
◆ distanceToPoint()
double VICUS::NetworkLine::distanceToPoint |
( |
const IBKMK::Vector3D & |
point | ) |
const |
returns distance between point and line, if point is not contained by line, the distance to the closest line endpoint is returned
◆ intersection()
void VICUS::NetworkLine::intersection |
( |
const NetworkLine & |
line, |
|
|
IBKMK::Vector3D & |
pInter |
|
) |
| const |
return intersection point between two lines
◆ length()
double VICUS::NetworkLine::length |
( |
| ) |
const |
◆ pointsMatch()
static bool VICUS::NetworkLine::pointsMatch |
( |
const IBK::point2D< double > & |
point1, |
|
|
const IBK::point2D< double > & |
point2 |
|
) |
| |
|
static |
checks wether the distance between two points is below the threshold
◆ m_a
IBKMK::Vector3D VICUS::NetworkLine::m_a |
◆ m_b
IBKMK::Vector3D VICUS::NetworkLine::m_b |
The documentation for this class was generated from the following files: