segment Interface

public interface segment

Interface to segment SDF initialising function


Module Procedures

private function segment_init(a, b, optProp, layer, transform) result(out)

Initalising function for segment SDF. Note this is a 2D function

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: a

segment start point

type(vector), intent(in) :: b

segment end point

type(opticalProp_t), intent(in) :: optProp

Optical properties of the SDF

integer, intent(in) :: layer

ID number of sdf

real(kind=wp), intent(in), optional :: transform(4,4)

Optional transform to apply to SDF

Return Value type(segment)