Exemple #1
0
 public virtual Vertex this[int index] {
     get {
         return(index < Count?CreateVertex(
                    MiApi.mitab_c_get_vertex_x(Part.Feature.Handle, Part.Index, index),
                    MiApi.mitab_c_get_vertex_y(Part.Feature.Handle, Part.Index, index)) : null);
     }
 }
Exemple #2
0
 public virtual Topology.Geometries.Coordinate this[int index]
 {
     get
     {
         return(index < Count ? new Topology.Geometries.Coordinate(MiApi.mitab_c_get_vertex_x(Part.Feature.Handle, Part.Index, index), MiApi.mitab_c_get_vertex_y(Part.Feature.Handle, Part.Index, index)) : null);
     }
 }