All Frameworks  Class Hierarchy  This Framework  Indexes

SPAcstr Global Function api_make_ewire


outcome api_make_ewire(int num_edges,
EDGE*[] edges,
BODY*& body,
AcisOptions* ao= NULL )
Creates a body that consists a single wire from a list of edges that are connected in the order given with no branching.

Role: This API creates a BODY that consists of a single WIRE. The COEDGEs are created from the EDGEs in the edge list of the wire. Duplicate VERTEXs between adjacent edges are deleted. The edges are assumed to form a C1 continuous curve that is not self-intersecting. The edges may be open or closed.

A single point wire can be made. However, such wires are not fully supported by Booleans and offsetting.

Errors: Pointer in edge array is NULL or not to an EDGE.

Limitations: Wires that are in single isolated point (characterized by an edge with null geometry) are not fully supported.

Effect: Changes model

Journal: Available

Parameters:
num_edges
number of edges in list.
edges
list of edges.
body
created wire body returned.
ao
acis options.

This object is included in the file: cstrapi.hxx

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