segment_bbox_overlap_precomputed Function

public pure function segment_bbox_overlap_precomputed(seg_min, seg_max, bb_min, bb_max)

事前計算済みの線分AABBと要素AABBの重なりを判定する。

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: seg_min(3)
real(kind=dp), intent(in) :: seg_max(3)
real(kind=dp), intent(in) :: bb_min(3)
real(kind=dp), intent(in) :: bb_max(3)

Return Value logical


Called by

proc~~segment_bbox_overlap_precomputed~~CalledByGraph proc~segment_bbox_overlap_precomputed segment_bbox_overlap_precomputed proc~find_first_hit_base_grid find_first_hit_base_grid proc~find_first_hit_base_grid->proc~segment_bbox_overlap_precomputed proc~find_first_hit_base_linear find_first_hit_base_linear proc~find_first_hit_base_linear->proc~segment_bbox_overlap_precomputed proc~segment_bbox_overlap segment_bbox_overlap proc~segment_bbox_overlap->proc~segment_bbox_overlap_precomputed proc~find_first_hit_base find_first_hit_base proc~find_first_hit_base->proc~find_first_hit_base_grid proc~find_first_hit_base->proc~find_first_hit_base_linear proc~find_first_hit find_first_hit proc~find_first_hit->proc~find_first_hit_base proc~find_first_hit_periodic2 find_first_hit_periodic2 proc~find_first_hit->proc~find_first_hit_periodic2 proc~find_first_hit_periodic2->proc~find_first_hit_base proc~sample_photo_raycast_particles sample_photo_raycast_particles proc~sample_photo_raycast_particles->proc~find_first_hit proc~sample_photo_species_state sample_photo_species_state proc~sample_photo_species_state->proc~sample_photo_raycast_particles proc~init_particle_batch_from_config init_particle_batch_from_config proc~init_particle_batch_from_config->proc~sample_photo_species_state

Source Code

  pure logical function segment_bbox_overlap_precomputed(seg_min, seg_max, bb_min, bb_max)
    real(dp), intent(in) :: seg_min(3), seg_max(3), bb_min(3), bb_max(3)
    segment_bbox_overlap_precomputed = all(bb_max >= seg_min) .and. all(bb_min <= seg_max)
  end function segment_bbox_overlap_precomputed