SetClassification

This method sets a classification XML for a specified property of the point cloud. Classification XML is used for persistence of a classification which is defined in the TerraExplorer Pro GUI. When a classification is defined using the Field by Attribute dialog box, you can use GetClassification to retrieve an XML that defines this classification. See “Feature Layers” chapter in the User Manual.

 

JavaScript

 

SetClassification(

       Name,

       Value)

 

C#

 

void SetClassification(

       string Name,

       string Value)

 

C++

 

HRESULT SetClassification(

       BSTR Name,

       BSTR Value)

Parameters

Name

The name of the property to be set. The parameter can be a name of any property field as it appears in the point cloud property sheet in TerraExplorer (e.g., “Point Color”).

Value

The value of the property. This parameter can be a classification XML.  

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.