Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | List of all members
Loyc.Geometry.IPointBase< T > Interface Template Reference

This interface exists to work around a limitation of C#; use IPoint{T} instead. More...


Source file:
Inheritance diagram for Loyc.Geometry.IPointBase< T >:
Loyc.Geometry.IPointReader< T > Loyc.Geometry.IPoint3Base< T > Loyc.Geometry.IPoint< T > Loyc.Geometry.IPoint3< T > Loyc.Geometry.Point< T > Loyc.Geometry.Vector< T > Loyc.Geometry.Point3< T > Loyc.Geometry.Vector3< T >

Remarks

This interface exists to work around a limitation of C#; use IPoint{T} instead.

C# cannot combine a getter property and a setter property from two interfaces, so this interface cannot inherit its getters from IPointReader{T}. The workaround is to define another getter in the read-write interface for each getter in the read-only interface. As far as the CLR is concerned, the two getters are unrelated, but you won't notice that unless you need to explicitly implement this interface.

Properties

new T X [get, set]
 Horizontal coordinate of a point or vector. More...
 
new T Y [get, set]
 Vertical coordinate of a point or vector. More...
 
- Properties inherited from Loyc.Geometry.IPointReader< T >
X [get]
 
Y [get]
 

Property Documentation

new T Loyc.Geometry.IPointBase< T >.X
getset

Horizontal coordinate of a point or vector.

In geographic points, X represents the longitude.

new T Loyc.Geometry.IPointBase< T >.Y
getset

Vertical coordinate of a point or vector.

In 3D spaces, Y is sometimes used as a depth coordinate instead. In geographic points, Y represents the latitude.