Class PointToLineDistance_VectorMultBased

Class Documentation

class PointToLineDistance_VectorMultBased

Calculate distances to lines via vector product.

Lines presented as list of corner points p0, p1, …, pN of polygon: there are N lines in total. If particular line must be excluded from calculation, pass its number in exclude_border_set

Public Functions

inline PointToLineDistance_VectorMultBased(std::set<int> exclude_border_set, std::vector<Vector3> points)
inline float calc(Vector3 p)