- Source:
 
Methods
- 
    
<static> create(entities, dimensions)
 - 
    
    
Create a new map
Parameters:
Name Type Description entitiesArray dimensionsany - Source:
 
 - 
    
<static> create(entities, dimensions)
 - 
    
    
Create a new map
Parameters:
Name Type Description entitiesArray dimensionsany - Source:
 
 - 
    
<static> discreteSamples( [n=]) → {Array.<any>}
 - 
    
    
Get n discrete samples from array
Parameters:
Name Type Argument Description n=number <optional> 
Number of samples to pick. Default = 1
- Source:
 
Returns:
- Type
 - Array.<any>
 
 - 
    
<static> discreteSamples( [n=]) → {Array.<any>}
 - 
    
    
Get n discrete samples from array
Parameters:
Name Type Argument Description n=number <optional> 
Number of samples to pick. Default = 1
- Source:
 
Returns:
- Type
 - Array.<any>
 
 - 
    
<static> getByID(id) → {Entity}
 - 
    
    
Get Entity with ID
Parameters:
Name Type Description idstring ID of
Entity- Source:
 
Returns:
- Type
 - Entity
 
 - 
    
<static> getByID(id) → {Entity}
 - 
    
    
Get Entity with ID
Parameters:
Name Type Description idstring ID of
Entity- Source:
 
Returns:
- Type
 - Entity
 
 - 
    
<static> insert(entity)
 - 
    
    
    
    
    
        
Parameters:
Name Type Description entityObject - Source:
 
 - 
    
<static> insert(entity)
 - 
    
    
    
    
    
        
Parameters:
Name Type Description entityObject - Source:
 
 - 
    
<static> nearest(entity, count, maxDistance) → {Array.Neighbors}
 - 
    
    
    
    
    
        
Parameters:
Name Type Description entityObject Entity
countnumber Number of neighbors
maxDistanceany Range to check within
- Source:
 
Returns:
- Type
 - Array.Neighbors
 
 - 
    
<static> nearest(entity, count, maxDistance) → {Array.Neighbors}
 - 
    
    
    
    
    
        
Parameters:
Name Type Description entityObject Entity
countnumber Number of neighbors
maxDistanceany Range to check within
- Source:
 
Returns:
- Type
 - Array.Neighbors