|
Action:
|
Computes the intersections between the given edge and the given face.
|
|
|
Prototype:
|
outcome api_edfa_int (
|
|
|
EDGE* edge,
|
// the given edge
|
|
|
FACE* face,
|
// the given face
|
|
|
ENTITY_LIST*& inter,
|
// the intersection
|
|
|
|
|
// returned in an entity
|
|
|
|
|
// list form
|
|
|
AcisOptions* ao = NULL
|
// ACIS options
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "intersct/kernapi/api/intrapi.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kerndata/lists/lists.hxx"
|
|
#include "kernel/kerndata/top/edge.hxx"
|
|
#include "kernel/kerndata/top/face.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
This API computes the intersections of a given edge with a given face. Then, it makes up the containment of the intersections and forms the edges or vertices, depending on whether the intersections are isolated or coincident. It returns the result in an
entity_list as edges and vertices.
|
|
|
Errors:
|
Pointer to edge is
NULL or not to an
EDGE.
|
|
Pointer to face is
NULL or not to a
FACE.
|
|
|
Limitations:
|
This API may not give accurate results, or may even fail badly (i.e., segmentation violation), if the given face has an edge that is an inexact
intcurve.
|
|
|
|
A work-around is to make
SPAresabs equal to the fit tolerance with which the
intcurve is fitted. However, the results are still not guaranteed.
|
|
|
Library:
|
intersct
|
|
|
Filename:
|
intr/intersct/kernapi/api/intrapi.hxx
|
|
|
Effect:
|
Changes model
|