BRL-CAD
shape_recognition_cylinder.cpp File Reference
#include "common.h"
#include <set>
#include <map>
#include "bu/log.h"
#include "bu/str.h"
#include "bu/malloc.h"
#include "shape_recognition.h"
Include dependency graph for shape_recognition_cylinder.cpp:

Go to the source code of this file.

Functions

void subbrep_remove_degenerate_edges (struct subbrep_object_data *data, std::set< int > *edges)
 
int subbrep_is_cylinder (struct subbrep_object_data *data, fastf_t cyl_tol)
 
int cylindrical_loop_planar_vertices (ON_BrepFace *face, int loop_index)
 
int cylindrical_planar_vertices (struct subbrep_object_data *data, int face_index)
 
int cylinder_csg (struct subbrep_object_data *data, fastf_t cyl_tol)
 

Function Documentation

void subbrep_remove_degenerate_edges ( struct subbrep_object_data data,
std::set< int > *  edges 
)
int cylindrical_loop_planar_vertices ( ON_BrepFace *  face,
int  loop_index 
)

Definition at line 184 of file shape_recognition_cylinder.cpp.

References BREP_PLANAR_TOL, and NEAR_ZERO.

Referenced by cylindrical_planar_vertices().

int cylindrical_planar_vertices ( struct subbrep_object_data data,
int  face_index 
)

Definition at line 224 of file shape_recognition_cylinder.cpp.

References array_to_set(), subbrep_object_data::brep, cylindrical_loop_planar_vertices(), subbrep_object_data::loops, and subbrep_object_data::loops_cnt.

Here is the call graph for this function:

int cylinder_csg ( struct subbrep_object_data data,
fastf_t  cyl_tol 
)