DM_get_area_cstrn_flag
List of: Functions
Subjects: DML Constraints, Deformable Modeling
Contents: Standalone Deformable Modeling

Action: Returns the area constraint's fixed inside/outside flag. 0=zone is free, 1=zone compliment area is free.

Prototype: int DM_get_area_cstrn_flag (


int& rtn_err, // out: 0=success




// or negative err code


DS_dmod* dmod, // in: member of dmod




// hierarchy to search


int tag, // n: cstrn identifier


SDM_options* sdmo // in:SDM_options pointer



= NULL // note: sets active dmod


);

Includes: #include "kernel/acis.hxx"

#include "dshusk/dskernel/dmapi.hxx"

#include "dshusk/dskernel/dsdmod.hxx"

#include "dshusk/dskernel/sdm_options.hxx"

Description: Returns 0 when the zone area is deformable and the zone compliment area is fixed. Returns 1 when the zone area is fixed and the zone compliment area is free to move.


Passes the change request down to the deformable model so that all affected arrays can be updated.

Errors: DM_NULL_INPUT_PTR

The deformable model cannot be NULL on entry.



DM_TAG_OBJECT_NOT_FOUND

The input tag does not identify an area constraint.

Library: dshusk

Filename: ds/dshusk/dskernel/dmapi.hxx

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