Action:
|
Gets a
bounded_curve from an
EDGE.
|
|
Prototype:
|
bounded_curve* get_bounded_curve (
|
|
|
EDGE* edge,
|
// edge
|
|
|
logical apply_transf
|
// transformation
|
|
|
|
= TRUE
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/bnd_crv.hxx"
|
|
#include "kernel/kerndata/top/edge.hxx"
|
|
#include "baseutil/logical.h"
|
|
Description:
|
Gets a
bounded_curve from an
EDGE. The
bounded_curve contains a copy of the curve pointed to by the
EDGE. If the
EDGE belongs to a
BODY, then the
BODY transformation is applied, so the bounded curve is always defined in the model coordinate system rather than in the coordinate system of the body.
|
|
|
This method differs from the constructor for bounded curve because it checks the type of the curve of the
EDGE, and creates the appropriate type of bounded curve. For example, if the
EDGE points to a straight, this method creates a bounded line and returns it.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/geomhusk/bnd_crv.hxx
|
|
Effect:
|
Read-only
|