All Frameworks  Class Hierarchy  This Framework  Indexes

SPAbool Global Function api_imprint_stitch_complete


outcome api_imprint_stitch_complete(BODY* b1,
BODY* b2,
AcisOptions* ao= NULL)
This is a partial Boolean API to imprint two bodies and stitch them along their face-face intersection curves.

Role: This API imprints the current intersection graph on both bodies, and then combines the bodies, stitching them along the imprinted edges and vertices. It is assumed that the intersection graph has already been computed using other partial Boolean APIs. The result is returned in the body b1 and the body b2 is deleted.

Face normals and coedge senses must be compatible for stitching of sheet edges. Stitching of incompatible edges will be ignored. When vertices at the same location (within tolerance) are merged, they become nonmanifold and contain all surrounding face groups.

This API is designed to be faster than performing separate imprint and stitch operations because the imprinted edges are supplied directly to the stitch operation, thus avoiding the need to detect compatible edges. However, note that bodies that do not intersect or touch will be grouped into one body, whereas calling api_imprint_complete followed by api_stitch on such bodies would leave them separate.

Errors:
b1 or b2 is a NULL pointer or does not point to a BODY.
b1 and b2 are the same body.

Effect: Changes model.

Journal: Available

Parameters:
b1
(in/out) First body, modified by the operation.
b2
(in) Second body, deleted by the operation.
ao
(in) ACIS options such as version and journal.

This object is included in the file: boolapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.