cone Interface

public interface cone

Interface to cone SDF initialising function


Module Procedures

private function cone_init(a, b, ra, rb, optProp, layer, transform) result(out)

Initalising function for Capped Cone SDF.

Arguments

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

Centre of base of Cone

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

Tip of cone

real(kind=wp), intent(in) :: ra

Radius of Cones base

real(kind=wp), intent(in) :: rb

Radius of Cones tip. For rb = 0.0 get normal uncapped cone.

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(cone)