DM_get_pfunc_domain_max
List of: Functions
Subjects: DML Create and Query, Deformable Modeling
Contents: Standalone Deformable Modeling

Action: Gets the maximum domain point for a pfunc and returns 0 for success or an error.

Prototype: void DM_get_pfunc_domain_max (


int& rtn_err, // out: 0=success




// or negative err code


DS_pfunc* pfunc, // in: pfunc to query


int domain_flag, // in: 2=domain_pts in




// internal_pfunc_space,




// 1=domain_pts in




// unit_space.


double* domain_max, // out: ptr to max_pt




// array,




// sized:[domain_dim]


SDM_options* sdmo // in:SDM_options pointer



= NULL //


);

Includes: #include "kernel/acis.hxx"

#include "dshusk/dskernel/dmapi.hxx"

#include "dshusk/dskernel/dspfunc.hxx"

#include "dshusk/dskernel/sdm_options.hxx"

Description: Modifies domain_max.


Retrieves the pfunc domain's maximum bounding point and stores it in domain_max.


The returned domain point location can be reported in either the pfunc's internal domain range (the actual value used internally) or it can be scaled to the unit range (from 0.0 to 1.0) for convenience. When the domain_flag is set to 2 an absolute domain point value is returned. When domain_flag is set to 1 a scaled domain point value is returned.

Errors: DM_NULL_INPUT_PTR

The pfunc cannot be NULL on entry.



DM_NULL_OUTPUT_PTR

The domain max is NULL on entry.

Library: dshusk

Filename: ds/dshusk/dskernel/dmapi.hxx

Effect: Changes model
PDF/DS/04FNG.PDF
HTM/DATA/DS/DS/04FNG/0066.HTM