rotate class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.geo
Summary
Applies a transformation (rotation) matrix on a field.
available inputs: field (Field, FieldsContainer), field_rotation_matrix (Field)
available outputs: field (Field)
Example
op = rotate()
op = rotate(field=my_field,field_rotation_matrix=my_field_rotation_matrix)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.geo |
| Assembly | Ans_Dpf_FEMutils_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
field
field or fields container with only one field is expected
Type: LinkableInput
field_rotation_matrix
3-3 rotation matrix
Type: LinkableInput
Outputs
field
Type: LinkableOutput
Constructors
Constructor
rotate()
Constructor
rotate(field, field_rotation_matrix, config)
Parameters:
field(object)field_rotation_matrix(object)config(OperatorConfig)
Constructor
rotate(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig