Geometry String Value Converter
Class full path: Utils.GeometryStringValueConverter.GeometryStringValueConverter
implementation of the geometry string and value converter
Functions
get_element(geometry_ele_str)
staticmethod
get the elements from a string
Parameters:
Name | Type | Description | Default |
---|---|---|---|
geometry_ele_str
|
str
|
geometry element string |
required |
Returns:
Type | Description |
---|---|
Any
|
value of the geometry element |
get_elements(geometry_ele_str_list, convert_to_3d)
staticmethod
get the elements from a string
Parameters:
Name | Type | Description | Default |
---|---|---|---|
geometry_ele_str_list
|
List[str]
|
list with the geometry element strings |
required |
convert_to_3d
|
bool
|
convert the elements to 3D elements state |
required |
Returns:
Type | Description |
---|---|
List[Any]
|
value of the geometry element |
to_string(geometry_ele)
staticmethod
convert the geometry_ele to a string
Parameters:
Name | Type | Description | Default |
---|---|---|---|
geometry_ele
|
Any
|
geometry element |
required |
Returns:
Type | Description |
---|---|
str
|
string from geometry element |