Public Member Functions | Protected Member Functions | Protected Attributes

BendPointFinder3D Class Reference

Inheritance diagram for BendPointFinder3D:
BendPointFinderBase ParallelTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 BendPointFinder3D (const TypeSet< Coord3 > &, const Coord3 &scale, float eps)

Protected Member Functions

float getMaxSqDistToLine (int &idx, int start, int stop) const

Protected Attributes

const Coord3coords_
const Coord3 scale_

Constructor & Destructor Documentation

BendPointFinder3D::BendPointFinder3D ( const TypeSet< Coord3 > &  ,
const Coord3 scale,
float  eps 
)

Member Function Documentation

float BendPointFinder3D::getMaxSqDistToLine ( int &  idx,
int  start,
int  stop 
) const [protected, virtual]

Give the index of the point that is furthest from the line from start to stop.

Returns:
the squre of the largest distance

Implements BendPointFinderBase.


Member Data Documentation

const Coord3* BendPointFinder3D::coords_ [protected]
const Coord3 BendPointFinder3D::scale_ [protected]