BRL-CAD
brlcad Namespace Reference

Data Structures

struct  _gcp_data
 

Typedefs

typedef struct brlcad::_gcp_data GCPData
 

Functions

void distribute (const int count, const ON_3dVector *v, double x[], double y[], double z[])
 
int brep_getSurfacePoint (const ON_3dPoint &pt, ON_2dPoint &uv, BBNode *node)
 
BBNode * initialBBox (CurveTree *ctree, const ON_Surface *surf, const ON_BrepFace *face, const ON_Interval &u, const ON_Interval &v)
 
bool hasSplit (const ON_Surface *surf, const int dir, const ON_Interval &interval, double &split)
 
bool gcp_gradient (pt2d_t out_grad, GCPData &data, pt2d_t uv)
 
bool gcp_newton_iteration (pt2d_t out_uv, GCPData &data, pt2d_t grad, pt2d_t in_uv)
 
bool get_closest_point (ON_2dPoint &outpt, ON_BrepFace *face, const ON_3dPoint &point, SurfaceTree *tree, double tolerance)
 
bool sortX (BRNode *first, BRNode *second)
 
bool sortY (BRNode *first, BRNode *second)
 

Typedef Documentation

typedef struct brlcad::_gcp_data GCPData

Function Documentation

void brlcad::distribute ( const int  count,
const ON_3dVector *  v,
double  x[],
double  y[],
double  z[] 
)
inline

Definition at line 121 of file opennurbs_ext.cpp.

int brlcad::brep_getSurfacePoint ( const ON_3dPoint &  pt,
ON_2dPoint &  uv,
BBNode *  node 
)

Definition at line 699 of file opennurbs_ext.cpp.

References brep_get_plane_ray(), BREP_INTERSECTION_ROOT_EPSILON, BREP_INTERSECTION_ROOT_SETTLE, BREP_MAX_ITERATIONS, brep_newton_iterate(), brep_r(), MAX_FASTF, and surface_EvNormal().

Here is the call graph for this function:

BBNode* brlcad::initialBBox ( CurveTree *  ctree,
const ON_Surface *  surf,
const ON_BrepFace *  face,
const ON_Interval &  u,
const ON_Interval &  v 
)

Definition at line 909 of file opennurbs_ext.cpp.

References bu_bomb(), surface_EvNormal(), surface_GetBoundingBox(), OSL::Strings::u, and OSL::Strings::v.

Here is the call graph for this function:

bool brlcad::hasSplit ( const ON_Surface *  surf,
const int  dir,
const ON_Interval &  interval,
double &  split 
)

Definition at line 940 of file opennurbs_ext.cpp.

References bu_parallel_id().

Here is the call graph for this function:

bool brlcad::gcp_gradient ( pt2d_t  out_grad,
GCPData data,
pt2d_t  uv 
)
bool brlcad::gcp_newton_iteration ( pt2d_t  out_uv,
GCPData data,
pt2d_t  grad,
pt2d_t  in_uv 
)
bool brlcad::get_closest_point ( ON_2dPoint &  outpt,
ON_BrepFace *  face,
const ON_3dPoint &  point,
SurfaceTree *  tree,
double  tolerance 
)

Definition at line 1735 of file opennurbs_ext.cpp.

References data, gcp_gradient(), gcp_newton_iteration(), _gcp_data::pt, _gcp_data::surf, OSL::Strings::u, and OSL::Strings::v.

Here is the call graph for this function:

bool brlcad::sortX ( BRNode *  first,
BRNode *  second 
)

Definition at line 1821 of file opennurbs_ext.cpp.

References X.

bool brlcad::sortY ( BRNode *  first,
BRNode *  second 
)

Definition at line 1837 of file opennurbs_ext.cpp.

References Y.