Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace Class Reference

Detailed Description

Meta data that describes the position of the volume inside the grid.

Inheritance diagram for Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace:
Collaboration diagram for Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace:

Public Member Functions

 GridSpace (Volume volume, Coordinate position)
 
bool IsConsumedWith (GridSpace with)
 Checks is a volume fully in bounds of another one. More...
 
override string ToString ()
 
object Clone ()
 

Static Public Member Functions

static bool AABB (GridSpace a, GridSpace b)
 Checks is the 2 grid spaces intersect each other. More...
 

Properties

Volume volume [get, set]
 Volume related to the grid.
 
Coordinate position [get, set]
 Coordinates of the volume inside the grid. More...
 

Member Function Documentation

◆ AABB()

static bool Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace.AABB ( GridSpace  a,
GridSpace  b 
)
static

Checks is the 2 grid spaces intersect each other.

Parameters
aFirst volumetric space.
bSecond volumetric space.
Returns
true in case if intersects. false otherwise.

◆ IsConsumedWith()

bool Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace.IsConsumedWith ( GridSpace  with)

Checks is a volume fully in bounds of another one.

Parameters
withBigger or equal volume that possibly consumes the volume.
Returns
true in the volume is totally in bounds of with volume. false otherwise.

Property Documentation

◆ position

Coordinate Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace.position
getset

Coordinates of the volume inside the grid.

Rotation parameters describes the rotation of the origin object required to fit the volume.


The documentation for this class was generated from the following file: