ISS_SD_ClosestPointDirection< ISS > Class Template Reference

Functor that returns the closest point along a specified direction to an (N-1)-D mesh in N-D space. More...

#include <ISS_SignedDistance.h>

List of all members.

Public Types

typedef Base::argument_type argument_type
 The argument type is a point.
typedef Base::result_type result_type
 The result type is a point.
typedef ISS_SignedDistance
< ISS >::Number 
Number
 The number type.

Public Member Functions

 ISS_SD_ClosestPointDirection (const ISS_SignedDistance< ISS > &sd, const int max_iterations=5, const Number tolerance=std::sqrt(std::numeric_limits< Number >::epsilon()))
 Construct from the signed distance data structure.
 ISS_SD_ClosestPointDirection (const ISS_SD_ClosestPointDirection &other)
 Copy constructor.
result_type operator() (argument_type x, argument_type dir) const
 Return the closest point along the direction.

Detailed Description

template<class ISS>
class ISS_SD_ClosestPointDirection< ISS >

Functor that returns the closest point along a specified direction to an (N-1)-D mesh in N-D space.


Member Function Documentation

template<class ISS>
result_type ISS_SD_ClosestPointDirection< ISS >::operator() ( argument_type  x,
argument_type  dir 
) const [inline]

Return the closest point along the direction.

Parameters:
x The position.
dir The direction (normalized).

References computeDotProduct(), computeMagnitude(), and sign().


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3