Enhanced C#
Language of your choice: library documentation
Properties | List of all members
Loyc.Geometry.IPoint3Base< 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.IPoint3Base< T >:
Loyc.Geometry.IPointBase< T > Loyc.Geometry.IPoint3Reader< T > Loyc.Geometry.IPointReader< T > Loyc.Geometry.IPointReader< T > Loyc.Geometry.IPoint3< 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 IPoint3Reader<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 Z [get, set]
 Z coordinate of a point or vector. More...
 
- Properties inherited from Loyc.Geometry.IPointBase< T >
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]
 
- Properties inherited from Loyc.Geometry.IPoint3Reader< T >
Z [get]
 

Property Documentation

◆ Z

new T Loyc.Geometry.IPoint3Base< T >.Z
getset

Z coordinate of a point or vector.

Z typically represents either the vertical or depth component of a point or vector.