All Frameworks  Class Hierarchy  This Framework  Indexes

SPAintr Global Function api_silhouette_edges


outcome api_silhouette_edges(FACE* face,
const SPAtransf& ftrans,
const SPAposition& from_point,
const SPAposition& to_point,
int projection_type,
ENTITY_LIST* edgelist,
AcisOptions* ao= NULL)
Gets a list of silhouette edges for a given face.

Role: This API computes the silhouette curves on the surface of the face and trims them to the boundaries of the face.

The silhouette curves can be calculated for either a parallel or perspective projection.

It retrieves a list of EDGEs representing the bounded portion of the silhouette curves within the face.

Errors: Pointer to face is NULL or not to a FACE.
 From and to points are coincident.

Effect: Changes model

Journal: Available

Parameters:
face
face to be examined.
ftrans
transform.
from_point
position ofviewer.
to_point
position toward which the viewer looks.
projection_type
(0 = parallel, 1 = perspective).
edgelist
list of silhouette edges returned.
ao
ACIS options.

This object is included in the file: intrapi.hxx

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