MeshKit
1.0
|
Classes | |
struct | edge |
Functions | |
bool | error (const bool error_has_occured, const std::string message) |
void | moab_printer (ErrorCode error_code) |
void | print_vertex_cubit (const EntityHandle vertex) |
void | print_vertex_coords (const EntityHandle vertex) |
void | print_triangles (const Range tris) |
void | print_triangle (const EntityHandle tri, bool print_edges) |
void | print_edge (const EntityHandle edge) |
void | print_range (const Range range) |
void | print_range_of_edges (const Range range) |
void | print_vertex_count (const EntityHandle input_meshset) |
void | print_arcs (const std::vector< std::vector< EntityHandle > > arcs) |
void | print_arc_of_edges (const std::vector< EntityHandle > arc_of_edges) |
void | print_loop (const std::vector< EntityHandle > loop_of_verts) |
ErrorCode | find_closest_vert (const EntityHandle reference_vert, const std::vector< EntityHandle > arc_of_verts, unsigned &position, const double dist_limit) |
ErrorCode | find_closest_vert (const double tol, const EntityHandle reference_vert, const std::vector< EntityHandle > loop_of_verts, std::vector< unsigned > &positions, std::vector< double > &dists) |
ErrorCode | merge_vertices (Range verts, const double tol) |
ErrorCode | squared_dist_between_verts (const EntityHandle v0, const EntityHandle v1, double &d) |
double | dist_between_verts (const CartVect v0, const CartVect v1) |
ErrorCode | dist_between_verts (const EntityHandle v0, const EntityHandle v1, double &d) |
double | dist_between_verts (double coords0[], double coords1[]) |
double | dist_between_verts (EntityHandle vert0, EntityHandle vert1) |
double | length (std::vector< EntityHandle > edges) |
unsigned int | n_adj_edges (EntityHandle vert, Range edges) |
bool | edges_adjacent (EntityHandle edge0, EntityHandle edge1) |
ErrorCode | get_direction (const EntityHandle from_vert, const EntityHandle to_vert, CartVect &dir) |
double | edge_point_dist (const CartVect a, const CartVect b, const CartVect c) |
double | edge_point_dist (const EntityHandle endpt0, const EntityHandle endpt1, const EntityHandle pt) |
double | edge_point_dist (const EntityHandle edge, const EntityHandle pt) |
double | triangle_area (const CartVect a, const CartVect b, const CartVect c) |
ErrorCode | triangle_area (const EntityHandle conn[], double &area) |
ErrorCode | triangle_area (const EntityHandle tri, double &area) |
double | triangle_area (const Range tris) |
bool | triangle_degenerate (const EntityHandle tri) |
bool | triangle_degenerate (const EntityHandle v0, const EntityHandle v1, const EntityHandle v2) |
ErrorCode | triangle_normals (const Range tris, std::vector< CartVect > &normals) |
ErrorCode | triangle_normal (const EntityHandle tri, CartVect &normal) |
ErrorCode | triangle_normal (const EntityHandle v0, const EntityHandle v1, const EntityHandle v2, CartVect &normal) |
ErrorCode | triangle_normal (const CartVect coords0, const CartVect coords1, const CartVect coords2, CartVect &normal) |
ErrorCode | line_point_dist (const EntityHandle line_pt1, const EntityHandle line_pt2, const EntityHandle pt0, double &dist) |
ErrorCode | point_line_projection (const EntityHandle line_pt1, const EntityHandle line_pt2, const EntityHandle pt0) |
ErrorCode | point_line_projection (const EntityHandle line_pt1, const EntityHandle line_pt2, const EntityHandle pt0, CartVect &projected_coords, double ¶meter) |
ErrorCode | point_line_projection (const EntityHandle line_pt1, const EntityHandle line_pt2, const EntityHandle pt0, double &dist_along_edge) |
double | area2 (const EntityHandle pt_a, const EntityHandle pt_b, const EntityHandle pt_c, const CartVect plane_normal) |
bool | left (const EntityHandle a, const EntityHandle b, const EntityHandle c, const CartVect n) |
bool | left_on (const EntityHandle a, const EntityHandle b, const EntityHandle c, const CartVect n) |
bool | collinear (const EntityHandle a, const EntityHandle b, const EntityHandle c, const CartVect n) |
bool | logical_xor (const bool x, const bool y) |
bool | intersect_prop (const EntityHandle a, const EntityHandle b, const EntityHandle c, const EntityHandle d, const CartVect n) |
bool | between (const EntityHandle pt_a, const EntityHandle pt_b, const EntityHandle pt_c, const CartVect n) |
bool | intersect (const EntityHandle a, const EntityHandle b, const EntityHandle c, const EntityHandle d, const CartVect n) |
bool | diagonalie (const EntityHandle a, const EntityHandle b, const CartVect n, const std::vector< EntityHandle > verts) |
bool | in_cone (const EntityHandle a, const EntityHandle b, const CartVect n, const std::vector< EntityHandle > verts) |
bool | diagonal (const EntityHandle a, const EntityHandle b, const CartVect n, const std::vector< EntityHandle > verts) |
ErrorCode | ear_init (const std::vector< EntityHandle > verts, const CartVect n, std::vector< bool > &is_ear) |
ErrorCode | ear_clip_polygon (std::vector< EntityHandle > verts, CartVect n, Range &new_tris) |
int | geom_id_by_handle (const EntityHandle set) |
ErrorCode | save_normals (Range tris, Tag normal_tag) |
ErrorCode | flip (const EntityHandle tri, const EntityHandle vert0, const EntityHandle vert2, const EntityHandle surf_set) |
ErrorCode | ordered_verts_from_ordered_edges (const std::vector< EntityHandle > ordered_edges, std::vector< EntityHandle > &ordered_verts) |
ErrorCode | dist_between_arcs (bool debug, const std::vector< EntityHandle > arc0, const std::vector< EntityHandle > arc1, double &dist) |
int | compare_edge (const void *a, const void *b) |
ErrorCode | find_skin (Range tris, const int dim, Range &skin_edges, const bool temp_bool) |
ErrorCode | measure_volume (const EntityHandle volume, double &result, bool debug, bool verbose) |
ErrorCode | get_signed_volume (const EntityHandle surf_set, double &signed_volume) |
ErrorCode | measure (const EntityHandle set, const Tag geom_tag, double &size, bool debug, bool verbose) |
ErrorCode | get_curve_surf_sense (const EntityHandle surf_set, const EntityHandle curve_set, int &sense, bool debug) |
gets the surface sense with respect to the curve and returns the value to sense | |
ErrorCode | surface_sense (EntityHandle volume, int num_surfaces, const EntityHandle *surfaces, int *senses_out) |
ErrorCode | surface_sense (EntityHandle volume, EntityHandle surface, int &sense_out) |
get sense of surface(s) wrt volume | |
Tag | get_tag (const char *name, int size, TagType store, DataType type, const void *def_value, bool create_if_missing) |
ErrorCode | delete_surface (EntityHandle surf, Tag geom_tag, Range tris, int id, bool debug, bool verbose) |
ErrorCode | remove_surf_sense_data (EntityHandle del_surf, bool debug) |
removes sense data from all curves associated with the surface given to the function | |
ErrorCode | combine_merged_curve_senses (std::vector< EntityHandle > &curves, Tag merge_tag, bool debug) |
combines the senses of any curves tagged as merged in the vector curves | |
ErrorCode | get_sealing_mesh_tags (double &facet_tol, double &sme_resabs_tol, Tag &geom_tag, Tag &id_tag, Tag &normal_tag, Tag &merge_tag, Tag &faceting_tol_tag, Tag &geometry_resabs_tag, Tag &size_tag, Tag &orig_curve_tag) |
ErrorCode | get_geometry_meshsets (Range geometry_sets[], Tag geom_tag, bool verbose) |
ErrorCode | check_for_geometry_sets (Tag geom_tag, bool verbose) |
void | moab_printer (moab::ErrorCode error_code) |
prints a string of the error code returned from MOAB to standard output | |
void | print_vertex_cubit (const moab::EntityHandle vertex) |
void | print_vertex_coords (const moab::EntityHandle vertex) |
void | print_triangles (const moab::Range tris) |
void | print_triangle (const moab::EntityHandle triangle, bool print_edges) |
void | print_edge (const moab::EntityHandle edge) |
void | print_vertex_count (const moab::EntityHandle input_meshset) |
void | print_range (const moab::Range range) |
void | print_range_of_edges (const moab::Range range) |
void | print_arc_of_edges (const std::vector< moab::EntityHandle > arc_of_edges) |
void | print_arcs (const std::vector< std::vector< moab::EntityHandle > > arcs) |
void | print_loop (const std::vector< moab::EntityHandle > loop_of_verts) |
moab::ErrorCode | find_closest_vert (const moab::EntityHandle reference_vert, const std::vector< moab::EntityHandle > arc_of_verts, unsigned &position, const double dist_limit) |
moab::ErrorCode | find_closest_vert (const double tol, const moab::EntityHandle reference_vert, const std::vector< moab::EntityHandle > loop_of_verts, std::vector< unsigned > &positions, std::vector< double > &dists) |
moab::ErrorCode | merge_vertices (moab::Range vertices, const double tol) |
moab::ErrorCode | squared_dist_between_verts (const moab::EntityHandle v0, const moab::EntityHandle v1, double &d) |
returns the square of the distance between v0 and v1 | |
double | dist_between_verts (const moab::CartVect v0, const moab::CartVect v1) |
returns the distance between v0 and v1 | |
moab::ErrorCode | dist_between_verts (const moab::EntityHandle v0, const moab::EntityHandle v1, double &d) |
double | dist_between_verts (moab::EntityHandle vert0, moab::EntityHandle vert1) |
double | length (std::vector< moab::EntityHandle > curve) |
unsigned int | n_adj_edges (moab::EntityHandle vert, moab::Range edges) |
bool | edges_adjacent (moab::EntityHandle edge0, moab::EntityHandle edge1) |
moab::ErrorCode | get_direction (const moab::EntityHandle from_vert, const moab::EntityHandle to_vert, moab::CartVect &dir) |
double | edge_point_dist (const moab::CartVect a, const moab::CartVect b, const moab::CartVect c) |
double | edge_point_dist (const moab::EntityHandle endpt0, const moab::EntityHandle endpt1, const moab::EntityHandle pt) |
double | edge_point_dist (const moab::EntityHandle edge, const moab::EntityHandle pt) |
moab::ErrorCode | point_curve_min_dist (const std::vector< moab::EntityHandle > curve, const moab::EntityHandle pt, double &min_dist, const double max_dist_along_curve) |
moab::ErrorCode | point_curve_min_dist (const std::vector< moab::EntityHandle > curve, const moab::EntityHandle pt, double &min_dist) |
double | triangle_area (const moab::CartVect a, const moab::CartVect b, const moab::CartVect c) |
moab::ErrorCode | triangle_area (const moab::EntityHandle conn[], double &area) |
moab::ErrorCode | triangle_area (const moab::EntityHandle triangle, double &area) |
double | triangle_area (moab::Range triangles) |
bool | triangle_degenerate (const moab::EntityHandle triangle) |
bool | triangle_degenerate (const moab::EntityHandle v0, const moab::EntityHandle v1, const moab::EntityHandle v2) |
moab::ErrorCode | triangle_normals (const moab::Range triangles, std::vector< moab::CartVect > &normals) |
gets the normal vectors of all triangles in moab::Range triangles and returns them as MBCartVect's in normals | |
moab::ErrorCode | triangle_normal (const moab::EntityHandle triangle, moab::CartVect &normal) |
moab::ErrorCode | triangle_normal (const moab::EntityHandle v0, const moab::EntityHandle v1, const moab::EntityHandle v2, moab::CartVect &normal) |
moab::ErrorCode | triangle_normal (const moab::CartVect v0, const moab::CartVect v1, const moab::CartVect v2, moab::CartVect &normal) |
moab::ErrorCode | line_point_dist (const moab::EntityHandle line_pt1, const moab::EntityHandle line_pt2, const moab::EntityHandle pt0, double &dist) |
moab::ErrorCode | point_line_projection (const moab::EntityHandle line_pt1, const moab::EntityHandle line_pt2, const moab::EntityHandle pt0) |
moab::ErrorCode | point_line_projection (const moab::EntityHandle line_pt1, const moab::EntityHandle line_pt2, const moab::EntityHandle pt0, moab::CartVect &projected_coords, double ¶meter) |
moab::ErrorCode | point_line_projection (const moab::EntityHandle line_pt1, const moab::EntityHandle line_pt2, const moab::EntityHandle pt0, double &dist_along_edge) |
moab::ErrorCode | ear_clip_polygon (std::vector< moab::EntityHandle > polygon_of_verts, const moab::CartVect plane_normal_vector, moab::Range &new_tris) |
int | geom_id_by_handle (const moab::EntityHandle set) |
moab::ErrorCode | save_normals (moab::Range tris, moab::Tag normal_tag) |
gets the normal vector of each triangle in tris and tags each triangle with its normal vector | |
moab::ErrorCode | flip (const moab::EntityHandle tri, const moab::EntityHandle vert0, const moab::EntityHandle vert2, const moab::EntityHandle surf_set) |
moab::ErrorCode | ordered_verts_from_ordered_edges (const std::vector< moab::EntityHandle > ordered_edges, std::vector< moab::EntityHandle > &ordered_verts) |
creates a set of ordered verts from the a set of ordered edges. uses commone vertex between edges to check continuity. | |
moab::ErrorCode | dist_between_arcs (bool debug, const std::vector< moab::EntityHandle > arc0, const std::vector< moab::EntityHandle > arc1, double &dist) |
moab::ErrorCode | find_skin (moab::Range tris, const int dim, moab::Range &skin_edges, const bool) |
moab::ErrorCode | measure (const moab::EntityHandle set, const moab::Tag geom_tag, double &size, bool debug, bool verbose) |
moab::ErrorCode | get_curve_surf_sense (const moab::EntityHandle surf_set, const moab::EntityHandle curve_set, int &sense, bool debug=false) |
moab::ErrorCode | surface_sense (moab::EntityHandle volume, int num_surfaces, const moab::EntityHandle *surfaces, int *senses_out) |
moab::ErrorCode | surface_sense (moab::EntityHandle volume, moab::EntityHandle surface, int &sense_out) |
moab::Tag | get_tag (const char *name, int size, moab::TagType store, moab::DataType type, const void *def_value, bool create_if_missing) |
moab::ErrorCode | delete_surface (moab::EntityHandle surf, moab::Tag geom_tag, moab::Range tris, int id, bool debug, bool verbose) |
moab::ErrorCode | remove_surf_sense_data (moab::EntityHandle del_surf, bool debug) |
moab::ErrorCode | combine_merged_curve_senses (std::vector< moab::EntityHandle > &curves, moab::Tag merge_tag, bool debug=false) |
moab::ErrorCode | get_sealing_mesh_tags (double &facet_tol, double &sme_resabs_tol, moab::Tag &geom_tag, moab::Tag &id_tag, moab::Tag &normal_tag, moab::Tag &merge_tag, moab::Tag &faceting_tol_tag, moab::Tag &geometry_resabs_tag, moab::Tag &size_tag, moab::Tag &orig_curve_tag) |
used to get all mesh tags necessary for sealing a mesh | |
moab::ErrorCode | get_geometry_meshsets (moab::Range geometry_sets[], moab::Tag geom_tag, bool verbose=false) |
sets the tracking and ordering options of meshsets retrieved from the mesh | |
moab::ErrorCode | check_for_geometry_sets (moab::Tag geom_tag, bool verbose) |
double gen::area2 | ( | const EntityHandle | pt_a, |
const EntityHandle | pt_b, | ||
const EntityHandle | pt_c, | ||
const CartVect | plane_normal | ||
) |
bool gen::between | ( | const EntityHandle | pt_a, |
const EntityHandle | pt_b, | ||
const EntityHandle | pt_c, | ||
const CartVect | n | ||
) |
moab::ErrorCode gen::check_for_geometry_sets | ( | moab::Tag | geom_tag, |
bool | verbose | ||
) |
returns moab::MB_SUCCESS if there exists geometry sets of each dimension in the model returns MB_FAILURE if there are no geometry sets of any dimension in the model
ErrorCode gen::check_for_geometry_sets | ( | Tag | geom_tag, |
bool | verbose | ||
) |
bool gen::collinear | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const EntityHandle | c, | ||
const CartVect | n | ||
) |
moab::ErrorCode gen::combine_merged_curve_senses | ( | std::vector< moab::EntityHandle > & | curves, |
moab::Tag | merge_tag, | ||
bool | debug = false |
||
) |
ErrorCode gen::combine_merged_curve_senses | ( | std::vector< EntityHandle > & | curves, |
Tag | merge_tag, | ||
bool | debug | ||
) |
int compare_edge | ( | const void * | a, |
const void * | b | ||
) |
moab::ErrorCode gen::delete_surface | ( | moab::EntityHandle | surf, |
moab::Tag | geom_tag, | ||
moab::Range | tris, | ||
int | id, | ||
bool | debug, | ||
bool | verbose | ||
) |
ErrorCode gen::delete_surface | ( | EntityHandle | surf, |
Tag | geom_tag, | ||
Range | tris, | ||
int | id, | ||
bool | debug, | ||
bool | verbose | ||
) |
bool gen::diagonal | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const CartVect | n, | ||
const std::vector< EntityHandle > | verts | ||
) |
bool gen::diagonalie | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const CartVect | n, | ||
const std::vector< EntityHandle > | verts | ||
) |
moab::ErrorCode gen::dist_between_arcs | ( | bool | debug, |
const std::vector< moab::EntityHandle > | arc0, | ||
const std::vector< moab::EntityHandle > | arc1, | ||
double & | dist | ||
) |
returns the average distance between the vertices in arc0 and arc1. assumes the vertices are ordered appropriately
ErrorCode gen::dist_between_arcs | ( | bool | debug, |
const std::vector< EntityHandle > | arc0, | ||
const std::vector< EntityHandle > | arc1, | ||
double & | dist | ||
) |
double gen::dist_between_verts | ( | const moab::CartVect | v0, |
const moab::CartVect | v1 | ||
) |
returns the distance between v0 and v1
moab::ErrorCode gen::dist_between_verts | ( | const moab::EntityHandle | v0, |
const moab::EntityHandle | v1, | ||
double & | d | ||
) |
double gen::dist_between_verts | ( | moab::EntityHandle | vert0, |
moab::EntityHandle | vert1 | ||
) |
double gen::dist_between_verts | ( | const CartVect | v0, |
const CartVect | v1 | ||
) |
ErrorCode gen::dist_between_verts | ( | const EntityHandle | v0, |
const EntityHandle | v1, | ||
double & | d | ||
) |
double dist_between_verts | ( | double | coords0[], |
double | coords1[] | ||
) |
double gen::dist_between_verts | ( | EntityHandle | vert0, |
EntityHandle | vert1 | ||
) |
moab::ErrorCode gen::ear_clip_polygon | ( | std::vector< moab::EntityHandle > | polygon_of_verts, |
const moab::CartVect | plane_normal_vector, | ||
moab::Range & | new_tris | ||
) |
ErrorCode gen::ear_clip_polygon | ( | std::vector< EntityHandle > | verts, |
CartVect | n, | ||
Range & | new_tris | ||
) |
ErrorCode gen::ear_init | ( | const std::vector< EntityHandle > | verts, |
const CartVect | n, | ||
std::vector< bool > & | is_ear | ||
) |
double gen::edge_point_dist | ( | const moab::CartVect | a, |
const moab::CartVect | b, | ||
const moab::CartVect | c | ||
) |
double gen::edge_point_dist | ( | const moab::EntityHandle | endpt0, |
const moab::EntityHandle | endpt1, | ||
const moab::EntityHandle | pt | ||
) |
double gen::edge_point_dist | ( | const moab::EntityHandle | edge, |
const moab::EntityHandle | pt | ||
) |
double gen::edge_point_dist | ( | const CartVect | a, |
const CartVect | b, | ||
const CartVect | c | ||
) |
double gen::edge_point_dist | ( | const EntityHandle | endpt0, |
const EntityHandle | endpt1, | ||
const EntityHandle | pt | ||
) |
double gen::edge_point_dist | ( | const EntityHandle | edge, |
const EntityHandle | pt | ||
) |
bool gen::edges_adjacent | ( | moab::EntityHandle | edge0, |
moab::EntityHandle | edge1 | ||
) |
bool gen::edges_adjacent | ( | EntityHandle | edge0, |
EntityHandle | edge1 | ||
) |
bool error | ( | const bool | error_has_occured, |
const std::string | message | ||
) |
moab::ErrorCode gen::find_closest_vert | ( | const moab::EntityHandle | reference_vert, |
const std::vector< moab::EntityHandle > | arc_of_verts, | ||
unsigned & | position, | ||
const double | dist_limit | ||
) |
moab::ErrorCode gen::find_closest_vert | ( | const double | tol, |
const moab::EntityHandle | reference_vert, | ||
const std::vector< moab::EntityHandle > | loop_of_verts, | ||
std::vector< unsigned > & | positions, | ||
std::vector< double > & | dists | ||
) |
ErrorCode gen::find_closest_vert | ( | const EntityHandle | reference_vert, |
const std::vector< EntityHandle > | arc_of_verts, | ||
unsigned & | position, | ||
const double | dist_limit | ||
) |
ErrorCode gen::find_closest_vert | ( | const double | tol, |
const EntityHandle | reference_vert, | ||
const std::vector< EntityHandle > | loop_of_verts, | ||
std::vector< unsigned > & | positions, | ||
std::vector< double > & | dists | ||
) |
moab::ErrorCode gen::find_skin | ( | moab::Range | tris, |
const int | dim, | ||
moab::Range & | skin_edges, | ||
const bool | |||
) |
ErrorCode gen::find_skin | ( | Range | tris, |
const int | dim, | ||
Range & | skin_edges, | ||
const bool | temp_bool | ||
) |
moab::ErrorCode gen::flip | ( | const moab::EntityHandle | tri, |
const moab::EntityHandle | vert0, | ||
const moab::EntityHandle | vert2, | ||
const moab::EntityHandle | surf_set | ||
) |
ErrorCode gen::flip | ( | const EntityHandle | tri, |
const EntityHandle | vert0, | ||
const EntityHandle | vert2, | ||
const EntityHandle | surf_set | ||
) |
int gen::geom_id_by_handle | ( | const moab::EntityHandle | set | ) |
Definition at line 516 of file test_facetmeshreader_senses.cpp.
int gen::geom_id_by_handle | ( | const EntityHandle | set | ) |
moab::ErrorCode gen::get_curve_surf_sense | ( | const moab::EntityHandle | surf_set, |
const moab::EntityHandle | curve_set, | ||
int & | sense, | ||
bool | debug = false |
||
) |
ErrorCode gen::get_curve_surf_sense | ( | const EntityHandle | surf_set, |
const EntityHandle | curve_set, | ||
int & | sense, | ||
bool | debug | ||
) |
moab::ErrorCode gen::get_direction | ( | const moab::EntityHandle | from_vert, |
const moab::EntityHandle | to_vert, | ||
moab::CartVect & | dir | ||
) |
ErrorCode gen::get_direction | ( | const EntityHandle | from_vert, |
const EntityHandle | to_vert, | ||
CartVect & | dir | ||
) |
moab::ErrorCode gen::get_geometry_meshsets | ( | moab::Range | geometry_sets[], |
moab::Tag | geom_tag, | ||
bool | verbose = false |
||
) |
sets the tracking and ordering options of meshsets retrieved from the mesh
ErrorCode gen::get_geometry_meshsets | ( | Range | geometry_sets[], |
Tag | geom_tag, | ||
bool | verbose | ||
) |
moab::ErrorCode gen::get_sealing_mesh_tags | ( | double & | facet_tol, |
double & | sme_resabs_tol, | ||
moab::Tag & | geom_tag, | ||
moab::Tag & | id_tag, | ||
moab::Tag & | normal_tag, | ||
moab::Tag & | merge_tag, | ||
moab::Tag & | faceting_tol_tag, | ||
moab::Tag & | geometry_resabs_tag, | ||
moab::Tag & | size_tag, | ||
moab::Tag & | orig_curve_tag | ||
) |
used to get all mesh tags necessary for sealing a mesh
ErrorCode gen::get_sealing_mesh_tags | ( | double & | facet_tol, |
double & | sme_resabs_tol, | ||
Tag & | geom_tag, | ||
Tag & | id_tag, | ||
Tag & | normal_tag, | ||
Tag & | merge_tag, | ||
Tag & | faceting_tol_tag, | ||
Tag & | geometry_resabs_tag, | ||
Tag & | size_tag, | ||
Tag & | orig_curve_tag | ||
) |
ErrorCode gen::get_signed_volume | ( | const EntityHandle | surf_set, |
double & | signed_volume | ||
) |
moab::Tag gen::get_tag | ( | const char * | name, |
int | size, | ||
moab::TagType | store, | ||
moab::DataType | type, | ||
const void * | def_value, | ||
bool | create_if_missing | ||
) |
Tag gen::get_tag | ( | const char * | name, |
int | size, | ||
TagType | store, | ||
DataType | type, | ||
const void * | def_value, | ||
bool | create_if_missing | ||
) |
bool gen::in_cone | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const CartVect | n, | ||
const std::vector< EntityHandle > | verts | ||
) |
bool gen::intersect | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const EntityHandle | c, | ||
const EntityHandle | d, | ||
const CartVect | n | ||
) |
bool gen::intersect_prop | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const EntityHandle | c, | ||
const EntityHandle | d, | ||
const CartVect | n | ||
) |
bool gen::left | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const EntityHandle | c, | ||
const CartVect | n | ||
) |
bool gen::left_on | ( | const EntityHandle | a, |
const EntityHandle | b, | ||
const EntityHandle | c, | ||
const CartVect | n | ||
) |
double gen::length | ( | std::vector< moab::EntityHandle > | curve | ) |
double gen::length | ( | std::vector< EntityHandle > | edges | ) |
moab::ErrorCode gen::line_point_dist | ( | const moab::EntityHandle | line_pt1, |
const moab::EntityHandle | line_pt2, | ||
const moab::EntityHandle | pt0, | ||
double & | dist | ||
) |
ErrorCode gen::line_point_dist | ( | const EntityHandle | line_pt1, |
const EntityHandle | line_pt2, | ||
const EntityHandle | pt0, | ||
double & | dist | ||
) |
bool gen::logical_xor | ( | const bool | x, |
const bool | y | ||
) |
moab::ErrorCode gen::measure | ( | const moab::EntityHandle | set, |
const moab::Tag | geom_tag, | ||
double & | size, | ||
bool | debug, | ||
bool | verbose | ||
) |
ErrorCode gen::measure | ( | const EntityHandle | set, |
const Tag | geom_tag, | ||
double & | size, | ||
bool | debug, | ||
bool | verbose | ||
) |
ErrorCode gen::measure_volume | ( | const EntityHandle | volume, |
double & | result, | ||
bool | debug, | ||
bool | verbose | ||
) |
moab::ErrorCode gen::merge_vertices | ( | moab::Range | vertices, |
const double | tol | ||
) |
finds any vertices within the moab::Range vertices that are with in tol of each other and merges them
ErrorCode gen::merge_vertices | ( | Range | verts, |
const double | tol | ||
) |
void gen::moab_printer | ( | moab::ErrorCode | error_code | ) |
prints a string of the error code returned from MOAB to standard output
void gen::moab_printer | ( | ErrorCode | error_code | ) |
unsigned int gen::n_adj_edges | ( | moab::EntityHandle | vert, |
moab::Range | edges | ||
) |
unsigned int gen::n_adj_edges | ( | EntityHandle | vert, |
Range | edges | ||
) |
moab::ErrorCode gen::ordered_verts_from_ordered_edges | ( | const std::vector< moab::EntityHandle > | ordered_edges, |
std::vector< moab::EntityHandle > & | ordered_verts | ||
) |
creates a set of ordered verts from the a set of ordered edges. uses commone vertex between edges to check continuity.
ErrorCode gen::ordered_verts_from_ordered_edges | ( | const std::vector< EntityHandle > | ordered_edges, |
std::vector< EntityHandle > & | ordered_verts | ||
) |
moab::ErrorCode gen::point_curve_min_dist | ( | const std::vector< moab::EntityHandle > | curve, |
const moab::EntityHandle | pt, | ||
double & | min_dist, | ||
const double | max_dist_along_curve | ||
) |
moab::ErrorCode gen::point_curve_min_dist | ( | const std::vector< moab::EntityHandle > | curve, |
const moab::EntityHandle | pt, | ||
double & | min_dist | ||
) |
moab::ErrorCode gen::point_line_projection | ( | const moab::EntityHandle | line_pt1, |
const moab::EntityHandle | line_pt2, | ||
const moab::EntityHandle | pt0 | ||
) |
moab::ErrorCode gen::point_line_projection | ( | const moab::EntityHandle | line_pt1, |
const moab::EntityHandle | line_pt2, | ||
const moab::EntityHandle | pt0, | ||
moab::CartVect & | projected_coords, | ||
double & | parameter | ||
) |
moab::ErrorCode gen::point_line_projection | ( | const moab::EntityHandle | line_pt1, |
const moab::EntityHandle | line_pt2, | ||
const moab::EntityHandle | pt0, | ||
double & | dist_along_edge | ||
) |
ErrorCode gen::point_line_projection | ( | const EntityHandle | line_pt1, |
const EntityHandle | line_pt2, | ||
const EntityHandle | pt0 | ||
) |
ErrorCode gen::point_line_projection | ( | const EntityHandle | line_pt1, |
const EntityHandle | line_pt2, | ||
const EntityHandle | pt0, | ||
CartVect & | projected_coords, | ||
double & | parameter | ||
) |
ErrorCode gen::point_line_projection | ( | const EntityHandle | line_pt1, |
const EntityHandle | line_pt2, | ||
const EntityHandle | pt0, | ||
double & | dist_along_edge | ||
) |
void gen::print_arc_of_edges | ( | const std::vector< moab::EntityHandle > | arc_of_edges | ) |
void gen::print_arc_of_edges | ( | const std::vector< EntityHandle > | arc_of_edges | ) |
void gen::print_arcs | ( | const std::vector< std::vector< moab::EntityHandle > > | arcs | ) |
void gen::print_arcs | ( | const std::vector< std::vector< EntityHandle > > | arcs | ) |
void gen::print_edge | ( | const moab::EntityHandle | edge | ) |
void gen::print_edge | ( | const EntityHandle | edge | ) |
void gen::print_loop | ( | const std::vector< moab::EntityHandle > | loop_of_verts | ) |
void gen::print_loop | ( | const std::vector< EntityHandle > | loop_of_verts | ) |
void gen::print_range | ( | const moab::Range | range | ) |
void gen::print_range | ( | const Range | range | ) |
void gen::print_range_of_edges | ( | const moab::Range | range | ) |
void gen::print_range_of_edges | ( | const Range | range | ) |
void gen::print_triangle | ( | const moab::EntityHandle | triangle, |
bool | print_edges | ||
) |
void gen::print_triangle | ( | const EntityHandle | tri, |
bool | print_edges | ||
) |
void gen::print_triangles | ( | const moab::Range | tris | ) |
void gen::print_triangles | ( | const Range | tris | ) |
void gen::print_vertex_coords | ( | const moab::EntityHandle | vertex | ) |
void gen::print_vertex_coords | ( | const EntityHandle | vertex | ) |
void gen::print_vertex_count | ( | const moab::EntityHandle | input_meshset | ) |
void gen::print_vertex_count | ( | const EntityHandle | input_meshset | ) |
void gen::print_vertex_cubit | ( | const moab::EntityHandle | vertex | ) |
void gen::print_vertex_cubit | ( | const EntityHandle | vertex | ) |
moab::ErrorCode gen::remove_surf_sense_data | ( | moab::EntityHandle | del_surf, |
bool | debug | ||
) |
ErrorCode gen::remove_surf_sense_data | ( | EntityHandle | del_surf, |
bool | debug | ||
) |
moab::ErrorCode gen::save_normals | ( | moab::Range | tris, |
moab::Tag | normal_tag | ||
) |
gets the normal vector of each triangle in tris and tags each triangle with its normal vector
ErrorCode gen::save_normals | ( | Range | tris, |
Tag | normal_tag | ||
) |
moab::ErrorCode gen::squared_dist_between_verts | ( | const moab::EntityHandle | v0, |
const moab::EntityHandle | v1, | ||
double & | d | ||
) |
returns the square of the distance between v0 and v1
ErrorCode gen::squared_dist_between_verts | ( | const EntityHandle | v0, |
const EntityHandle | v1, | ||
double & | d | ||
) |
moab::ErrorCode gen::surface_sense | ( | moab::EntityHandle | volume, |
int | num_surfaces, | ||
const moab::EntityHandle * | surfaces, | ||
int * | senses_out | ||
) |
moab::ErrorCode gen::surface_sense | ( | moab::EntityHandle | volume, |
moab::EntityHandle | surface, | ||
int & | sense_out | ||
) |
ErrorCode gen::surface_sense | ( | EntityHandle | volume, |
int | num_surfaces, | ||
const EntityHandle * | surfaces, | ||
int * | senses_out | ||
) |
ErrorCode gen::surface_sense | ( | EntityHandle | volume, |
EntityHandle | surface, | ||
int & | sense_out | ||
) |
double gen::triangle_area | ( | const moab::CartVect | a, |
const moab::CartVect | b, | ||
const moab::CartVect | c | ||
) |
moab::ErrorCode gen::triangle_area | ( | const moab::EntityHandle | conn[], |
double & | area | ||
) |
moab::ErrorCode gen::triangle_area | ( | const moab::EntityHandle | triangle, |
double & | area | ||
) |
double gen::triangle_area | ( | moab::Range | triangles | ) |
double gen::triangle_area | ( | const CartVect | a, |
const CartVect | b, | ||
const CartVect | c | ||
) |
ErrorCode gen::triangle_area | ( | const EntityHandle | conn[], |
double & | area | ||
) |
ErrorCode gen::triangle_area | ( | const EntityHandle | tri, |
double & | area | ||
) |
double gen::triangle_area | ( | const Range | tris | ) |
bool gen::triangle_degenerate | ( | const moab::EntityHandle | triangle | ) |
bool gen::triangle_degenerate | ( | const moab::EntityHandle | v0, |
const moab::EntityHandle | v1, | ||
const moab::EntityHandle | v2 | ||
) |
bool gen::triangle_degenerate | ( | const EntityHandle | tri | ) |
bool gen::triangle_degenerate | ( | const EntityHandle | v0, |
const EntityHandle | v1, | ||
const EntityHandle | v2 | ||
) |
moab::ErrorCode gen::triangle_normal | ( | const moab::EntityHandle | triangle, |
moab::CartVect & | normal | ||
) |
moab::ErrorCode gen::triangle_normal | ( | const moab::EntityHandle | v0, |
const moab::EntityHandle | v1, | ||
const moab::EntityHandle | v2, | ||
moab::CartVect & | normal | ||
) |
moab::ErrorCode gen::triangle_normal | ( | const moab::CartVect | v0, |
const moab::CartVect | v1, | ||
const moab::CartVect | v2, | ||
moab::CartVect & | normal | ||
) |
ErrorCode gen::triangle_normal | ( | const EntityHandle | tri, |
CartVect & | normal | ||
) |
ErrorCode gen::triangle_normal | ( | const EntityHandle | v0, |
const EntityHandle | v1, | ||
const EntityHandle | v2, | ||
CartVect & | normal | ||
) |
ErrorCode gen::triangle_normal | ( | const CartVect | coords0, |
const CartVect | coords1, | ||
const CartVect | coords2, | ||
CartVect & | normal | ||
) |
moab::ErrorCode gen::triangle_normals | ( | const moab::Range | triangles, |
std::vector< moab::CartVect > & | normals | ||
) |
gets the normal vectors of all triangles in moab::Range triangles and returns them as MBCartVect's in normals
ErrorCode gen::triangle_normals | ( | const Range | tris, |
std::vector< CartVect > & | normals | ||
) |