| CompressedAabbTreeISpatialPartitionInt32Clone 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<int> ISpatialPartition<int>.Clone()
Private Function Clone As ISpatialPartition(Of Integer)
Implements ISpatialPartition(Of Integer).Clone
private:
virtual ISpatialPartition<int>^ Clone() sealed = ISpatialPartition<int>::Clone
private abstract Clone : unit -> ISpatialPartition<int>
private override Clone : unit -> ISpatialPartition<int>
Return Value
Type:
ISpatialPartitionInt32
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