C# Class Hyperion.Core.Geometry.BoundingBox

Afficher le fichier Open project: Kintaro/Hyperion Class Usage Examples

Méthodes publiques

Свойство Type Description
pMax Point
pMin Point

Méthodes publiques

Méthode Description
BoundingBox ( ) : System
BoundingBox ( BoundingBox b ) : System
BoundingBox ( Point p ) : System
BoundingBox ( Point p1, Point p2 ) : System
BoundingSphere ( Point &center, double &radius ) : void
Expand ( double delta ) : void
Inside ( Point pt ) : bool
IntersectP ( Ray ray, double &hit0 ) : bool
IntersectP ( Ray ray, double &hit0, double &hit1 ) : bool
Lerp ( double tx, double ty, double tz ) : Point
Offset ( Point p ) : Vector
Overlaps ( BoundingBox b ) : bool
ToString ( ) : string
Union ( BoundingBox b, BoundingBox b2 ) : BoundingBox
Union ( BoundingBox b, Point p ) : BoundingBox

Method Details

BoundingBox() public méthode

public BoundingBox ( ) : System
Résultat System

BoundingBox() public méthode

public BoundingBox ( BoundingBox b ) : System
b BoundingBox
Résultat System

BoundingBox() public méthode

public BoundingBox ( Point p ) : System
p Point
Résultat System

BoundingBox() public méthode

public BoundingBox ( Point p1, Point p2 ) : System
p1 Point
p2 Point
Résultat System

BoundingSphere() public méthode

public BoundingSphere ( Point &center, double &radius ) : void
center Point
radius double
Résultat void

Expand() public méthode

public Expand ( double delta ) : void
delta double
Résultat void

Inside() public méthode

public Inside ( Point pt ) : bool
pt Point
Résultat bool

IntersectP() public méthode

public IntersectP ( Ray ray, double &hit0 ) : bool
ray Ray
hit0 double
Résultat bool

IntersectP() public méthode

public IntersectP ( Ray ray, double &hit0, double &hit1 ) : bool
ray Ray
hit0 double
hit1 double
Résultat bool

Lerp() public méthode

public Lerp ( double tx, double ty, double tz ) : Point
tx double
ty double
tz double
Résultat Point

Offset() public méthode

public Offset ( Point p ) : Vector
p Point
Résultat Vector

Overlaps() public méthode

public Overlaps ( BoundingBox b ) : bool
b BoundingBox
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

Union() public static méthode

public static Union ( BoundingBox b, BoundingBox b2 ) : BoundingBox
b BoundingBox
b2 BoundingBox
Résultat BoundingBox

Union() public static méthode

public static Union ( BoundingBox b, Point p ) : BoundingBox
b BoundingBox
p Point
Résultat BoundingBox

Property Details

pMax public_oe property

public Point pMax
Résultat Point

pMin public_oe property

public Point pMin
Résultat Point