Action:
|
Returns the bounding box used for the edge.
|
|
Prototype:
|
SPAbox get_edge_box (
|
|
|
EDGE* this_edge,
|
// edge to examine
|
|
|
SPAtransf const* t
|
// transform to
|
|
|
|
= NULL,
|
// apply to box
|
|
|
logical tight_box
|
// Flag to calculate
|
|
|
|
= FALSE,
|
// tight box
|
|
|
SPAbox* untransformed_box// standard box
|
|
|
|
= NULL
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kerndata/geometry/getbox.hxx"
|
|
#include "kernel/kerndata/top/edge.hxx"
|
|
#include "baseutil/vector/box.hxx"
|
|
#include "baseutil/vector/transf.hxx"
|
|
#include "baseutil/logical.h"
|
|
Description:
|
If a bounding box already exists, it is returned. If there is no bounding box, it is calculated and returned. After a box is computed it is saved for later reuse. If tight_box flag is TRUE then a tighter box is calculated. If the standard box has not been set, it is accumulated too.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kerndata/geometry/getbox.hxx
|
|
Effect:
|
Read-only
|