Show / Hide Table of Contents

Interface IIndexedGeoPoint

Interface for the treatment of a list or array of GeoPoints. This interface is used for the communication of user-interface objects (e.g. MultiGeoPointProperty) with various containers of GeoPoints.

Namespace: CADability.UserInterface
Assembly: CADability.dll
Syntax
public interface IIndexedGeoPoint

Methods

| Improve this Doc View Source

GetGeoPoint(Int32)

Yields the value of the GeoPoint with the given index.

Declaration
GeoPoint GetGeoPoint(int Index)
Parameters
Type Name Description
System.Int32 Index

Index of the GeoPoint

Returns
Type Description
GeoPoint

Value of the GeoPoint

| Improve this Doc View Source

GetGeoPointCount()

Yields the number of GeoPoints in the list or array.

Declaration
int GetGeoPointCount()
Returns
Type Description
System.Int32

Number of GeoPoints

| Improve this Doc View Source

InsertGeoPoint(Int32, GeoPoint)

Inserts a new GeoPoint before the given index. Index==-1: Append

Declaration
void InsertGeoPoint(int Index, GeoPoint ThePoint)
Parameters
Type Name Description
System.Int32 Index

Where to insert

GeoPoint ThePoint

Value to insert

| Improve this Doc View Source

MayDelete(Int32)

Asks, whether the point with the given index may be deleted.

Declaration
bool MayDelete(int Index)
Parameters
Type Name Description
System.Int32 Index

Index of the point

Returns
Type Description
System.Boolean
| Improve this Doc View Source

MayInsert(Int32)

Asks, whether a point may be inserted before the given index.

Declaration
bool MayInsert(int Index)
Parameters
Type Name Description
System.Int32 Index

Index where insertion is requested, -1: append

Returns
Type Description
System.Boolean
| Improve this Doc View Source

RemoveGeoPoint(Int32)

Removes the GeoPoint at the given Index.

Declaration
void RemoveGeoPoint(int Index)
Parameters
Type Name Description
System.Int32 Index

Index of the point to be removed, -1: LastPoint

| Improve this Doc View Source

SetGeoPoint(Int32, GeoPoint)

Sets the GeoPoint with the given index

Declaration
void SetGeoPoint(int Index, GeoPoint ThePoint)
Parameters
Type Name Description
System.Int32 Index

Index of the GeoPoint

GeoPoint ThePoint

Value to set

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX