![]() |
Cyclone 3DR Script
from Technodigit, part of Hexagon. Copyright 1997-2025.
|
Provide access to cloud iterator methods. More...
Public Member Functions | |
| Object | GetAttributeValue (string attribute) |
| Get an attribute value of the point. More... | |
| Object | GetColor () |
| Return the color of the point. If no color is stored in the cloud, GetColor will return -1 for red, green and blue. More... | |
| number | GetDeviation () |
| Get the deviation of the point. More... | |
| number | GetIntensity () |
| Get the intensity of the point. More... | |
| boolean | GetNext () |
| Update iterator with the next point of the cloud. More... | |
| SPoint | GetPt () |
| Return the current point associated with the iterator. More... | |
| boolean | IsValid () |
| Check for the iterator validity. More... | |
| string | toString () |
| Get the type of the variable. More... | |
Provide access to cloud iterator methods.
| Object SCloudIterator::GetAttributeValue | ( | string | attribute | ) |
Get an attribute value of the point.
| attribute | (string) The attribute key you want the value of |
| ret.ErrorCode | (number) Status
|
| ret.Value | (number) The attribute value |
| Object SCloudIterator::GetColor | ( | ) |
Return the color of the point.
If no color is stored in the cloud, GetColor will return -1 for red, green and blue.
| ret.ErrorCode | (number) The error code.
|
| ret.Red | (number) The red color between [0-1] |
| ret.Green | (number) The green color between [0-1] |
| ret.Blue | (number) The blue color between [0-1] |
| number SCloudIterator::GetDeviation | ( | ) |
Get the deviation of the point.
| number SCloudIterator::GetIntensity | ( | ) |
Get the intensity of the point.
| boolean SCloudIterator::GetNext | ( | ) |
Update iterator with the next point of the cloud.
| True | The next point is found (has not reached the end of the cloud) |
| False | There is no more point to parse |
| SPoint SCloudIterator::GetPt | ( | ) |
| boolean SCloudIterator::IsValid | ( | ) |
Check for the iterator validity.
An iterator can be invalid if it has reached the end of the points to parse or if it tries to iterate through invalid attributes.
| string SCloudIterator::toString | ( | ) |
Get the type of the variable.