formZ SDK | 5.0 API Reference | Project | Modeling | Attributes

fz_objt_attr_get_objt_sdns

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,

fz_objt_ptr

obj,

fzrt_boolean *

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

util_attr_basic.fsl

See Also

fz_objt_attr_set_objt_sdns

Function Set

fz_objt_attr_fset


Defined in

fz_objt_attr_api.h