HalfSpaceShape

HalfSpaceShape

Euclidean half space

Constructor

new HalfSpaceShape(isom)

Source:

Constructor.

Parameters:
Name Type Description
isom Isometry

the location of the half space

The half space is the image by isom of the half space {z < 0} The UV directions are the images by isom of e_x and e_y

Classes

HalfSpaceShape
HalfSpaceShape

Members

isGlobal :boolean

Source:

Says whether the shape is global. True if global, false otherwise.

Type:
  • boolean

normal :Vector

Source:

The coordinates of the normal vector to the half space

Type:

normal

Source:

Compute the normal vector to the half space, so that it can be passed to the shader. The normal vector consists of the underlying point and the direction.

uDir :Vector

Source:

U-direction (for UV coordinates)

Type:

vDir :Vector

Source:

V-direction (for UV coordinates)

Type:

HalfSpaceShape HalfSpaceShape

Half space in hyperbolic space

Constructor

new HalfSpaceShape(isom)

Source:

Constructor. The half space is the image by isom of the half space

  • going through the origin
  • whose normal vector is ez = [0,0,1,0]
Parameters:
Name Type Description
isom Isometry

the isometry defining the position and orientation of the half space

Classes

HalfSpaceShape
HalfSpaceShape

Members

isGlobal :boolean

Source:

Says whether the shape is global. True if global, false otherwise.

Type:
  • boolean

normal :Vector

Source:

The coordinates of the normal vector to the half space

Type:

normal

Source:

Compute the normal vector to the half space, so that it can be passed to the shader. The normal vector consists of the underlying point and the direction.

uDir :Vector

Source:

U-direction (for UV coordinates)

Type:

vDir :Vector

Source:

V-direction (for UV coordinates)

Type: