Namespace JXG.Expect
 
      ↳ JXG.Expect
				
				
					
Defined in:  expect.js.
				
                
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							
							 The JXG.Expect namespace provides method to normalize access on coordinates,
i.e. 
						 | 
					
| Method Attributes | Method Name and Description | 
|---|---|
| <static> | 
								 JXG.Expect.coords(c, copy)
								 
								Normalize points and coord objects into a coord object. 
							 | 
						
| <static> | 
								 JXG.Expect.coordsArray(c, copy)
								 
								Normalize points, coordinate arrays and coord objects into a coordinate array. 
							 | 
						
| <static> | 
								 JXG.Expect.each(a, format, copy)
								 
								Apply an expect method on every element of an array. 
							 | 
						
					Namespace Detail
				
				
						JXG.Expect
				
				
					The JXG.Expect namespace provides method to normalize access on coordinates,
i.e. provides utilities for parameter magic by normalizing multi-type parameters.
					
				
					
					
					
					
					
					
					
				
			
					Method Detail
				
				
					 
					<static> 
					{JXG.Coords}
					JXG.Expect.coords(c, copy)
					
					
						Normalize points and coord objects into a coord object.
						
						
					
						
							- Parameters:
 - {JXG.Point|JXG.Coords} c
 - {Boolean} copy Optional, Default: false
 - Return a copy, not a reference
 
- Returns:
 - {JXG.Coords}
 
<static> 
					{Array}
					JXG.Expect.coordsArray(c, copy)
					
					
						Normalize points, coordinate arrays and coord objects into a coordinate array.
						
						
					
						
							- Parameters:
 - {JXG.Point|JXG.Coords|Array} c
 - {Boolean} copy Optional, Default: false
 - Return a copy, not a reference
 
- Returns:
 - {Array} Homogeneous coordinates
 
<static> 
					{Array}
					JXG.Expect.each(a, format, copy)
					
					
						Apply an expect method on every element of an array.
						
						
					
						
							- Parameters:
 - {Array} a
 - {function} format
 - {Boolean} copy Optional, Default: false
 
- Returns:
 - {Array}