MeshLib C++ Docs
Loading...
Searching...
No Matches

a segment of straight dimensional line More...

#include <MRMesh/MRLineSegm.h>

Public Types

using T = typename V::ValueType

Public Member Functions

constexpr LineSegm () noexcept=default
constexpr LineSegm (const V &a, const V &b) noexcept
template<typename U>
constexpr LineSegm (const LineSegm< U > &p) noexcept
dir () const
 returns directional vector of the line
T lengthSq () const
 returns squared length of this line segment
T length () const
 returns the length of this line segment
operator() (T param) const
 returns point on the line, where param=0 returns a and param=1 returns b

Public Attributes

a
b

Detailed Description

template<typename V>
struct MR::LineSegm< V >

a segment of straight dimensional line


The documentation for this struct was generated from the following file: