new Coo(longitude, latitude, prec)
    
    
    - Description:
- Represents a Coo with configurable parsing options.
 
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | longitude | number | longitude (decimal degrees) | 
    
        
            
                | latitude | number | latitude (decimal degrees) | 
    
        
            
                | prec | number | precision for `format` method
(8: 1/1000th sec, 7: 1/100th sec, 6: 1/10th sec, 5: sec, 4: 1/10th min, 3: min, 2: 1/10th deg, 1: deg | 
    
    
        
         
    
    
    
    
    
    
     
    
    
    
        Methods
        
            
    
    dist2(pos)
    
    
    - Description:
- Squared distance between 2 points (= 4.sin2(r/2))
 
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | pos | Coo | another position on the sphere | 
    
    
Returns:
        
    ||pos-this||2 = 4.sin2(r/2)
    
        
            
    
    distance(pos)
    
    
    - Description:
- Distance between 2 points on the sphere.
 
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | pos | Coo | another position on the sphere | 
    
    
Returns:
        
    distance in degrees in range [0, 180]
    
        
            
    
    equals(coo)
    
    
    - Description:
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | coo | Coo | Second coordinate to compare with | 
    
    
Returns:
        
    True if the two coordinates are equal
    
        
            
    
    
    
    
    - Description:
- Format coordinates according to the options. Decimal and sexagesimal will use the `precision` value that the `Coo` was created with.
 
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | options | 'd'
|
's'
|
'/'
|
'2' | 'd': decimal, 's': sexagésimal, '/': space separated, '2': return [ra,dec] in an array | 
    
    
Returns:
        
    the formatted coordinates
    
        
            
    
    parse(str)
    
    
    - Description:
- parse a coordinate string. The coordinates can be in decimal or sexagesimal
 
- Source:
Parameters:
    
    
    
        
        | Name | Type | Description | 
    
    
    
        
            
                | str | string | string to parse | 
    
    
Returns:
        
    true if the parsing succeded, false otherwise