formZ SDK | 5.0 API Reference | Project | Modeling | Attributes
Description
Gets the sampling density of an object. This attribute is currently used only by the point cloud objects created with the re-engineer tool. If an object does not have a sampling density attribute, the optional has_sdns argument will be set to FALSE and -1.0 will be returned for the sdns argument.
Plugin Prototype
fzrt_error_td fz_objt_attr_get_objt_sdns(
fzrt_int | windex, |
obj, | |
has_sdns, | |
double * | sdns ) |
Parameters
windex [Input]
project window index
obj [Input]
object
has_sdns [Result, Optional]
TRUE if the object has a sampling density attribute, FALSE otherwise.
sdns [Result, Optional]
sampling density. This argument will be set to -1.0, if the object does not have a sampling density attribute
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in