tem_plane_type Derived Type

type, public :: tem_plane_type

type contains intrinsic plane information


Inherits

type~~tem_plane_type~2~~InheritsGraph type~tem_plane_type~2 tem_plane_type type~tem_triangle_type tem_triangle_type type~tem_plane_type~2->type~tem_triangle_type triangle

Contents

Source Code


Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: origin(3)

origin of the plane in x,y,z coordinate system

real(kind=rk), public :: vec(3,2)

two vectors defining the plane length 1st index x,y,z coordinate, 2nd index vector number

type(tem_triangle_type), public :: triangle(2)

Convert plane into two triangles

real(kind=rk), public :: unitNormal(3)

unit normal direction of a plane


Source Code

  type tem_plane_type
    !> origin of the plane in x,y,z coordinate system
    real(kind=rk) :: origin(3)
    !> two  vectors defining the plane length
    !! 1st index x,y,z coordinate, 2nd index vector number
    real(kind=rk) :: vec(3,2)
    !> Convert plane into two triangles
    type(tem_triangle_type) :: triangle(2)
    !> unit normal direction of a plane
    real(kind=rk) :: unitNormal(3)
  end type tem_plane_type