Show / Hide Table of Contents

Class OctTree<T>.Node<TT>

Definition of a node of this octtree.

Inheritance
System.Object
OctTree<T>.Node<TT>
Implements
System.IComparable<OctTree.Node<TT>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability
Assembly: CADability.dll
Syntax
public class Node<TT> : IComparable<OctTree<T>.Node<TT>> where TT : T
Type Parameters
Name Description
TT

The generic type, is the same type as the enclosing OctTree type

Constructors

| Improve this Doc View Source

Node(OctTree<TT>, GeoPoint, Double)

Declaration
public Node(OctTree<TT> root, GeoPoint center, double size)
Parameters
Type Name Description
OctTree<TT> root
GeoPoint center
System.Double size
| Improve this Doc View Source

Node(OctTree<TT>, OctTree<T>.Node<TT>, GeoPoint, Double)

Declaration
public Node(OctTree<TT> root, OctTree<T>.Node<TT> parent, GeoPoint center, double halfSize)
Parameters
Type Name Description
OctTree<TT> root
OctTree.Node<TT> parent
GeoPoint center
System.Double halfSize

Fields

| Improve this Doc View Source

center

Center of the cube definig this node.

Declaration
public GeoPoint center
Field Value
Type Description
GeoPoint
| Improve this Doc View Source

cube

Cube defining this node

Declaration
public BoundingCube cube
Field Value
Type Description
BoundingCube
| Improve this Doc View Source

deepth

Deepth of this node in the tree

Declaration
public int deepth
Field Value
Type Description
System.Int32
| Improve this Doc View Source

extension

Derived OctTrees may use this for whatever they need it

Declaration
public object extension
Field Value
Type Description
System.Object
| Improve this Doc View Source

list

List of IOctTreeInsertable objects in this octtree

Declaration
public List<TT> list
Field Value
Type Description
System.Collections.Generic.List<TT>
| Improve this Doc View Source

mmm

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> mmm
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

mmp

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> mmp
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

mpm

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> mpm
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

mpp

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> mpp
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

parent

Back reference to the parent node.

Declaration
public OctTree<T>.Node<TT> parent
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

pmm

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> pmm
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

pmp

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> pmp
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

ppm

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> ppm
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

ppp

the subtrees, may be null

Declaration
public OctTree<T>.Node<TT> ppp
Field Value
Type Description
OctTree.Node<TT>
| Improve this Doc View Source

root

Back reference to the root.

Declaration
public OctTree<TT> root
Field Value
Type Description
OctTree<TT>
| Improve this Doc View Source

size

"Radius" (half width) of the cube defining this node

Declaration
public double size
Field Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Compare(OctTree<T>.Node<TT>, OctTree<T>.Node<TT>)

Declaration
public int Compare(OctTree<T>.Node<TT> x, OctTree<T>.Node<TT> y)
Parameters
Type Name Description
OctTree.Node<TT> x
OctTree.Node<TT> y
Returns
Type Description
System.Int32

Explicit Interface Implementations

| Improve this Doc View Source

IComparable<OctTree<T>.Node<TT>>.CompareTo(OctTree<T>.Node<TT>)

Declaration
int IComparable<OctTree<T>.Node<TT>>.CompareTo(OctTree<T>.Node<TT> other)
Parameters
Type Name Description
OctTree.Node<TT> other
Returns
Type Description
System.Int32

Implements

System.IComparable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX