MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTwoLineSegmDist.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRVector3.h"
4#include "MRLineSegm.h"
5
6namespace MR
7{
10
11
12template<class T>
25
27[[nodiscard]] MRMESH_API TwoLineSegmClosestPointsf findTwoLineSegmClosestPoints( const LineSegm3f& a, const LineSegm3f& b );
28[[nodiscard]] MRMESH_API TwoLineSegmClosestPointsd findTwoLineSegmClosestPoints( const LineSegm3d& a, const LineSegm3d& b );
29
30}
#define MRMESH_API
Definition MRMeshFwd.h:80
TwoLineSegmClosestPoints< double > TwoLineSegmClosestPointsd
Definition MRTwoLineSegmDist.h:24
Vector3< float > a
Definition MRTwoLineSegmDist.h:16
TwoLineSegmClosestPointsf findTwoLineSegmClosestPoints(const LineSegm3f &a, const LineSegm3f &b)
computes the closest points on two line segments
Vector3< float > b
Definition MRTwoLineSegmDist.h:16
TwoLineSegmClosestPoints< float > TwoLineSegmClosestPointsf
Definition MRTwoLineSegmDist.h:23
Vector3< float > dir
Definition MRTwoLineSegmDist.h:21
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRTwoLineSegmDist.h:14
Definition MRVector3.h:33