LogDensity Object Class


Defined Functions

The following functions are defined for creating and manipulating a LogDensity object.

Function NameDescription
XintCreateLogDensityCreates a LogDensity object.
XintLogDensityGetDataRetrieves depth and sample data from a LogDensity object.
XintLogDensityTopAndBot tomReturns the top and bottom depth values of the specified l og density.


XintCreateLogDensity

XintCreateLogDensity creates a LogDensity object. Note: LogDensity objects do not need to be managed.

     Object XintCreateLogDensity (...)

WidgetparentParent of new LogDensity object.
char *nameName of new LogDensit y object.
ArgListarglistList of resource/ value items.
CardinalargcountNumber of items in arglist.


XintLogDensityGetData

XintLogDensity returns two data arrays containing the sample and depth values of a LogDensity object within a specified depth range. The data pointers returned point directly to the internal LogDensity data structures. The corresponding memory should not be deallocated by the application.

     void XintLogDensityGetData (...)

ObjectobjectID of the LogDensity object.
floatstart_depthSpecifies the s tarting depth.
floatend_depthSpecifies the end ing depth.
float **sample_arrayReturns a p ointer to the array containing the sample data.
float **depth_arrayReturns a po inter to the array containing the depth data.
int *sample_countReturns the nu mber of samples.


XintLogDensityTopAndBottom

This function returns the top and bottom depth values of a LogDensity object.

     void XintLogDensityTopAndBottom (...)

ObjectobjectID of the LogDensity object.
float *topReturns the top depth of the LogDensity
float *bottomReturns the bottom depth of the LogDensity


Macros

Macro XintIsLogDensity returns True if the specified object is a LogDensity object.

     Boolean XintIsLogDensity (Object object)