This module provide datatype and routine for transformation of geometrical objects i.e translation and deformation
This routine apply transformations to canonical objects
This routine apply transformation to canonical objects.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_canonicalND_type), | intent(inout) | :: | canoND(:) |
canonical geometry object type |
||
type(sdr_transformation_type), | intent(in) | :: | transform |
transformation for spatial object |
This routine apply transformation to canonical objects.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_canonicalND_type), | intent(inout) | :: | canoND |
canonical geometry object type |
||
type(sdr_transformation_type), | intent(in) | :: | transform |
transformation for spatial object |
Data type defines geometry translation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | active |
Is translation defined |
|||
real(kind=rk), | public | :: | vec(3) |
vector defining translation in x,y,z direction |
Data type defines geometry scale and rotation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | active |
Is deformation defined |
|||
real(kind=rk), | public | :: | matrix(3,3) |
matrix defining the deformation |
Data type defines geometry transformation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | active |
is transformation active |
|||
type(sdr_translation_type), | public | :: | translate |
translation of geometry |
|||
type(sdr_deformation_type), | public | :: | deform |
deformation of geometry |
This routine loads the transformation table for each spatial object table in config file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_transformation_type), | intent(out) | :: | transform |
transformation for spatial object |
||
type(flu_State) | :: | conf |
lua state |
|||
integer, | intent(in) | :: | thandle |
spatial object parent handle |
This routine loads the translation table from transformation table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_translation_type), | intent(out) | :: | translate |
translate for spatial object |
||
type(flu_State) | :: | conf |
lua state |
|||
integer, | intent(in) | :: | thandle |
spatial object parent handle |
This routine loads the deformation table from transformation table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(sdr_deformation_type), | intent(out) | :: | deform |
deform for spatial object |
||
type(flu_State) | :: | conf |
lua state |
|||
integer, | intent(in) | :: | thandle |
spatial object parent handle |
This routine apply transformation to canonical objects.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_canonicalND_type), | intent(inout) | :: | canoND(:) |
canonical geometry object type |
||
type(sdr_transformation_type), | intent(in) | :: | transform |
transformation for spatial object |
This routine apply transformation to canonical objects.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_canonicalND_type), | intent(inout) | :: | canoND |
canonical geometry object type |
||
type(sdr_transformation_type), | intent(in) | :: | transform |
transformation for spatial object |