api_detect_sliver_faces
List of: Functions
Subjects: Booleans, Model Topology, Tolerant Modeling
Contents: Boolean

Action: Returns all 2-edge and 3-edge sliver faces from a body whose maximum distance among the edges is smaller than the given tolerance.

Prototype: outcome api_detect_sliver_faces (


ENTITY* entity,
// Entity with edges





// to be checked


ENTITY_LIST& returned_list, // list of short





// edges or tvertices


const double tolerance
// Maximum length of



= -1,
// short edges


logical replace
// Specifies if



= FALSE,
// detected sliver





// faces should be





// replaced


AcisOptions* ao = NULL
// acis options


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/logical.h"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kerndata/data/entity.hxx"

#include "kernel/kerndata/lists/lists.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

#include "boolean/kernapi/api/boolapi.hxx"

Description: Returns all sliver faces from the entity passed in whose maximum distance among the edges are smaller then the specified tolerance. If tolerance is set to -1, the lesser of (10*SPAresfit) and (minimum side of bounding box 1250) is used by default. If the third argument "replace" is set TRUE, the detected sliver faces will be automatically replaced with tolerant edges.

Library: boolean

Filename: bool/boolean/kernapi/api/boolapi.hxx

Effect: System routine
PDF/BOOL/03FN.PDF
HTM/DATA/BOOL/BOOL/03FN/0016.HTM