bs3_surface_hull_planes
List of: Functions
Subjects: Construction Geometry, Spline Interface
Contents: Kernel

Action: Creates a bounding hull around a surface.

Prototype: int bs3_surface_hull_planes (


bs3_surface surface_, // given surface


SPAposition* points, // six points on planes


SPAunit_vector* normals // six plane normals


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/vector/position.hxx"

#include "baseutil/vector/unitvec.hxx"

#include "kernel/spline/bs3_srf/bs3surf.hxx"

#include "kernel/spline/bs3_srf/sp3srtn.hxx"

Description: The hull is a set of six planes that (in some sense) closely bounds the entire surface. In principle, these could be the standard box planes, but this function will probably generate a significantly tighter bound, preferably transformation-independent, at the expense of moderate extra effort. By choosing two planes to be roughly parallel to the surface, the distance between them will fall as the square of the linear dimension of a smooth surface. As that dimension gets small, the volume of the bound can be made to fall more rapidly than the cube of the length.

Limitations: Call this function only after a box test using the standard boxes. It returns the number of planes constructed and allocates an array of planes in free space, which it is the caller's responsibility to delete.

Library: kernel

Filename: kern/kernel/spline/bs3_srf/sp3srtn.hxx

Effect: Changes model
PDF/KERN/21FN3S1.PDF
HTM/DATA/KERN/KERN/21FN3S1/0031.HTM