C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Class for projection onto shell. More...

#include <action_general.h>

Public Member Functions

virtual ~MbFaceShellProjector ()
 Destructor.
 
virtual bool NearPointProjection (const MbCartPoint3D &point, size_t &faceIndex, double &u, double &v) const =0
 Find nearest point projection to the shell. More...
 

Static Public Member Functions

static MbFaceShellProjector * Create (const MbFaceShell &shell, const MbShellProjectionParams &params)
 Create class instance by shell and parameters. More...
 

Detailed Description

Class for projection onto shell.

Class for projection onto shell.

Warning
Under development.

Member Function Documentation

◆ Create()

static MbFaceShellProjector* MbFaceShellProjector::Create ( const MbFaceShell &  shell,
const MbShellProjectionParams &  params 
)
static

Create class instance by shell and parameters.

Create class instance by shell and parameters. User must delete created object.

Parameters
[in]shell- Shell.
[in]params- Parameters for multiple projection of points onto the shell.
Returns
Returns pointer to created object.

◆ NearPointProjection()

virtual bool MbFaceShellProjector::NearPointProjection ( const MbCartPoint3D &  point,
size_t &  faceIndex,
double &  u,
double &  v 
) const
pure virtual

Find nearest point projection to the shell.

Find face index and surface parameters for the nearest point projection to the shell.

Parameters
[in]p- A point to project.
[out]faceIndex- The index of nearest face of the shell.
[out]u- The first parameter of the face surface for the nearest projection.
[out]v- The second parameter of the face surface for the nearest projection.
Returns
Whether the point projection was successfully defined.

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