| BasePartitionTISpatialPartitionTClone Method |
Creates a new spatial partition that is a clone (deep copy) of the current instance.
Namespace: DigitalRune.Geometry.PartitioningAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax ISpatialPartition<T> ISpatialPartition<T>.Clone()
Private Function Clone As ISpatialPartition(Of T)
Implements ISpatialPartition(Of T).Clone
private:
virtual ISpatialPartition<T>^ Clone() sealed = ISpatialPartition<T>::Clone
private abstract Clone : unit -> ISpatialPartition<'T>
private override Clone : unit -> ISpatialPartition<'T>
Return Value
Type:
ISpatialPartitionT
A new
ISpatialPartitionT that is a clone (deep copy) of the current instance.
Implements
ISpatialPartitionTCloneRemarks
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