BRL-CAD
PullbackCurve.h File Reference
#include "opennurbs.h"
Include dependency graph for PullbackCurve.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 brlcad
 

Macros

#define PBC_TOL   0.000001
 
#define PBC_FROM_OFFSET   0.001
 
#define PBC_SEAM_TOL   0.001
 

Enumerations

enum  seam_direction {
  NORTH_SEAM, EAST_SEAM, SOUTH_SEAM, WEST_SEAM,
  UNKNOWN_SEAM_DIRECTION
}
 

Functions

enum seam_direction seam_direction (ON_2dPoint uv1, ON_2dPoint uv2)
 
ON_Curve * refit_edge (const ON_BrepEdge *edge, double tolerance)
 
int check_pullback_seam_bridge (const ON_Surface *surf, const ON_2dPoint &p1, const ON_2dPoint &p2)
 
ON_Curve * pullback_curve (const brlcad::SurfaceTree *surfacetree, const ON_Curve *curve, double tolerance=1.0e-6, double flatness=1.0e-3)
 
ON_Curve * pullback_seam_curve (enum seam_direction seam_dir, const brlcad::SurfaceTree *surfacetree, const ON_Curve *curve, double tolerance=1.0e-6, double flatness=1.0e-3)
 
bool toUV (brlcad::SurfaceTree *surftree, const ON_Curve *curve, ON_2dPoint &out_pt, double t, double knudge, double within_distance_tol)
 

Macro Definition Documentation

#define PBC_FROM_OFFSET   0.001

Definition at line 68 of file PullbackCurve.h.

Referenced by pullback_samples_from_closed_surface().

Enumeration Type Documentation

Enumerator
NORTH_SEAM 
EAST_SEAM 
SOUTH_SEAM 
WEST_SEAM 
UNKNOWN_SEAM_DIRECTION 

Definition at line 59 of file PullbackCurve.h.

Function Documentation

enum seam_direction seam_direction ( ON_2dPoint  uv1,
ON_2dPoint  uv2 
)

Definition at line 106 of file PullbackCurve.cpp.

References EAST_SEAM, NORTH_SEAM, PBC_TOL, SOUTH_SEAM, UNKNOWN_SEAM_DIRECTION, and WEST_SEAM.

ON_Curve* refit_edge ( const ON_BrepEdge *  edge,
double  tolerance 
)

Definition at line 3163 of file PullbackCurve.cpp.

References delta, NEAR_ZERO, and PBC_TOL.

int check_pullback_seam_bridge ( const ON_Surface *  surf,
const ON_2dPoint &  p1,
const ON_2dPoint &  p2 
)

Definition at line 4485 of file PullbackCurve.cpp.

References is_closed(), IsAtSeam(), and PBC_SEAM_TOL.

Here is the call graph for this function:

ON_Curve* pullback_curve ( const brlcad::SurfaceTree *  surfacetree,
const ON_Curve *  curve,
double  tolerance = 1.0e-6,
double  flatness = 1.0e-3 
)
ON_Curve* pullback_seam_curve ( enum seam_direction  seam_dir,
const brlcad::SurfaceTree *  surfacetree,
const ON_Curve *  curve,
double  tolerance = 1.0e-6,
double  flatness = 1.0e-3 
)
bool toUV ( brlcad::SurfaceTree *  surftree,
const ON_Curve *  curve,
ON_2dPoint &  out_pt,
double  t,
double  knudge,
double  within_distance_tol 
)