Click or drag to resize
DigitalRuneISpatialPartitionTClone Method
Creates a new spatial partition that is a clone (deep copy) of the current instance.

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
ISpatialPartition<T> Clone()

Return Value

Type: ISpatialPartitionT
A new ISpatialPartitionT that is a clone (deep copy) of the current instance.
Remarks
Cloning creates a deep copy of the spatial partition. All properties and internal data structures are duplicated. However, the items contained in the spatial partitions are not copied. The clone will be an empty spatial partition that can be used independently from the original spatial partitions.
See Also