C# Class Accord.Collections.SPCell

Region of space in a Space-Partitioning Tree. Represents an axis-aligned bounding box stored as a center with half-dimensions to represent the boundaries of this quad tree.
ファイルを表示 Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Contains ( double point ) : bool

Determines whether a point lies inside this cell.

SPCell ( double corner, double width ) : Accord.Math

Initializes a new instance of the SPCell class.

SPCell ( int dimension ) : Accord.Math

Initializes a new instance of the SPCell class.

Method Details

Contains() public method

Determines whether a point lies inside this cell.
public Contains ( double point ) : bool
point double The point.
return bool

SPCell() public method

Initializes a new instance of the SPCell class.
public SPCell ( double corner, double width ) : Accord.Math
corner double The starting point of this spatial cell.
width double The widths of this spatial cell.
return Accord.Math

SPCell() public method

Initializes a new instance of the SPCell class.
public SPCell ( int dimension ) : Accord.Math
dimension int The number of dimensions of the space.
return Accord.Math