formZ SDK | 5.0 API Reference | Project | Modeling | Attributes
Description
Sets the sampling density of an object. This attribute is currently used only by the point cloud objects created with the re-engineer tool. It is possible to set this attribute for other objects, but it will not be used. If -1.0 is passed in as the sdns argument, the attribute will be removed. Otherwise only values greater than 0.0 will be accepted.
Plugin Prototype
fzrt_error_td fz_objt_attr_set_objt_sdns(
fzrt_int | windex, |
obj, | |
double | sdns ) |
Parameters
windex [Input]
project window index
obj [Input]
object
sdns [Input]
Sampling density. If -1.0 is passed in, the attribute will be removed. Otherwise values greater than 0.0 must be passed in.
Range: sdns > 0.0
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in