Action:
|
Creates a
DL_item list of hairs to show a vector field.
|
|
Prototype:
|
outcome api_hedgehog (
|
|
|
law* field,
|
|
// vector field
|
|
|
law* base,
|
|
// base of field
|
|
|
double* starts,
|
|
// min value in each
|
|
|
|
|
|
// dimension
|
|
|
double* ends,
|
|
// max value in each
|
|
|
|
|
|
// dimension
|
|
|
int dim,
|
|
// size of starts
|
|
|
|
|
|
// and ends
|
|
|
int* hairs,
|
|
// number of hairs in
|
|
|
|
|
|
// each dimension
|
|
|
ENTITY_LIST& return_item,
|
// list of hairs
|
|
|
|
|
|
// returned
|
|
|
AcisOptions* ao = NULL
|
|
// acis options
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "lawutil/law_base.hxx"
|
|
#include "kernel/kerndata/lists/lists.hxx"
|
|
#include "kernel/kernutil/law/hog_api.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
Description:
|
field is a law specifying the vectors to show (the hairs).
base is a law specifying where the roots of the hairs lie.
|
|
|
dim specifies whether a one-dimensional, two-dimensional, or three-dimensional array of hairs is produced.
|
|
|
starts and
ends are arrays of one, two, or three start points and end points, depending on
dim.
|
|
|
hairs is an array containing one, two, or three values, depending on
dim, specifying how many hairs are to be created between the start and end points.
|
|
|
return_item contains the list of hairs for display.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernutil/law/hog_api.hxx
|
|
Effect:
|
Read-only
|