All Frameworks  Class Hierarchy  This Framework  Indexes

SPAkern Global Function make_face_spline


FACE * make_face_spline(surface const& this_surface,
curve const& lv= *(curve const*)NULL_REF,
curve const& hv= *(curve const*)NULL_REF,
curve const& lu= *(curve const*)NULL_REF,
curve const& hu= *(curve const*)NULL_REF,
SPApar_box const& pb= *(SPApar_box const *)NULL_REF )
Constructs a new FACE from a spline.

Role: Constructs a single face which is the whole of a given B-spline surface. This handles spline surfaces closed in one or both directions, but puts prop edges at the boundaries in these cases.

In all cases, the resulting face has one loop. The number of coedges is 4 minus the number of singularities on the surface.

In the open/open case there are four edges and four vertices, in the open/closed and closed/open cases there are three edges and two vertices, and in the closed/closed case there are two edges and one vertex.

The face normal always follows the sense of the spline surface.

Effect: Changes model

Parameters:
this_surface
The given surface.
lv
The low v curve.
hv
The high v curve.
lu
The low u curve.
hu
The high u curve.
pb
Par_box to use.

This object is included in the file: kernapi.hxx

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