 | CompositeShapePartition Property |
Gets or set the spatial partition used to improve the performance of geometric queries.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntaxpublic ISpatialPartition<int> Partition { get; set; }
Public Property Partition As ISpatialPartition(Of Integer)
Get
Set
public:
property ISpatialPartition<int>^ Partition {
ISpatialPartition<int>^ get ();
void set (ISpatialPartition<int>^ value);
}
member Partition : ISpatialPartition<int> with get, set
Property Value
Type:
ISpatialPartitionInt32
The spatial partition. Per default no spatial partition is used and this property is
.
Remarks
The spatial partition stores only the indices into the
Children collection.
This property can be set to
to remove a spatial partition. If a
spatial partition is set, the composite shape will automatically fill and update the
spatial partition.
See Also