Elongate a SDF
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | layer |
Layer ID of SDF |
|||
type(opticalProp_t), | public | :: | optProps |
Optical property of the SDF |
|||
class(sdf_base), | public, | pointer | :: | prim | |||
type(vector), | public | :: | size | ||||
real(kind=wp), | public | :: | transform(4,4) |
Transform to apply to SDF. |
Initialise the elongate modifier for a SDF.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(sdf_base), | target | :: | prim |
SDF to modify |
||
type(vector), | intent(in) | :: | size |
Distance to elongate by |
Evaluation function for Elongate modifier.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(elongate), | intent(in) | :: | this | |||
type(vector), | intent(in) | :: | pos |
Position to evaluate the modifier at |
type, extends(sdf_base) :: elongate type(vector) :: size class(sdf_base), pointer :: prim contains procedure :: evaluate => eval_elongate end type elongate