to_range Interface

public interface to_range

Module Procedures

public function to_range_int32(from_to) result(ret_range)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: from_to(1:2)

Return Value type(Range_)

public function to_range_real64(from_to) result(ret_range)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: from_to(:)

Return Value type(Range_)

public function to_range_real64_rect(x_min, y_min, z_min, x_max, y_max, z_max) result(ret_range)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), optional :: x_min
real(kind=real64), intent(in), optional :: y_min
real(kind=real64), intent(in), optional :: z_min
real(kind=real64), intent(in), optional :: x_max
real(kind=real64), intent(in), optional :: y_max
real(kind=real64), intent(in), optional :: z_max

Return Value type(Range_)

public function to_range_real64_sphere(center, radius) result(ret)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: center(1:3)
real(kind=real64), intent(in) :: radius

Return Value type(Range_)

public function to_range_real64_cylinder(p1, p2, radius) result(ret)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: p1(1:3)
real(kind=real64), intent(in) :: p2(1:3)
real(kind=real64), intent(in) :: radius

Return Value type(Range_)

public function to_range_real64_Cone(p1, p2, radius) result(ret)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: p1(1:3)
real(kind=real64), intent(in) :: p2(1:3)
real(kind=real64), intent(in) :: radius(1:2)

Return Value type(Range_)