3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ClosestPointFinder Class Reference

#include <uv_mapper.h>

Public Member Functions

void AddPlane (const Vector3D &nf, const Vector3D &pf)
 Add plane, point and normal. More...
 
Vector3D GetBestPoint (double Weight=0.001)
 Get best position of boint between plane. Weight is the weight of using initial. More...
 

Detailed Description

Let you have set of planes p[i],n[i] (positions+normals). You need to find point closest to all that planes and to initial points p[i] ( with less weight - "Weight", referred in GetBestPoint(..) )

Member Function Documentation

void ClosestPointFinder::AddPlane ( const Vector3D nf,
const Vector3D pf 
)

Add plane, point and normal.

Vector3D ClosestPointFinder::GetBestPoint ( double  Weight = 0.001)

Get best position of boint between plane. Weight is the weight of using initial.


The documentation for this class was generated from the following files: