VRay SDK for C#
Loading...
Searching...
No Matches
VRay.Proxy.Box Struct Reference

Axis-aligned bounding box More...

Public Member Functions

void Expand (Box box)
 Expands the bounding box with the provided box, effectively resulting in a bounding box containing both boxes. More...
 
void Expand (Vector point)
 Expands the bounding box to contain the provided point (if it does not already) More...
 
override string ToString ()
 

Public Attributes

Vector pmax
 The upper bounds for the box along the three axes
 
Vector pmin
 The lower bounds for the box along the three axes
 

Detailed Description

Axis-aligned bounding box

Member Function Documentation

◆ Expand() [1/2]

void VRay.Proxy.Box.Expand ( Box  box)

Expands the bounding box with the provided box, effectively resulting in a bounding box containing both boxes.

Parameters
boxThe bounding used to expand the current box.

◆ Expand() [2/2]

void VRay.Proxy.Box.Expand ( Vector  point)

Expands the bounding box to contain the provided point (if it does not already)

Parameters
pointThe point that will be included in the bounding box.

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