Class TrackerImport
Class containing functionality related to import of trackers that is exposed in the scripting Toolbox
Namespace: Scripting
Syntax
public class TrackerImport
Methods
GenerateTrackerGroupsFromTrackerInfos(IEnumerable<TrackerInfo>, Double)
Generates the tracker groups from tracker infos.
Declaration
public List<TrackerGroup> GenerateTrackerGroupsFromTrackerInfos(IEnumerable<TrackerInfo> trackerInfos, double acceptableRange = 0.5)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TrackerInfo> | trackerInfos | The tracker infos. |
System.Double | acceptableRange | The acceptable range (trackers within this range of each other (in the x direction) are considered to be in the same group (row). |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TrackerGroup> |
GetMinMaxValuesFromTrackers(IEnumerable<TrackerInfo>, out Point3D, out Point3D)
Gets the minimum and maximum values from the north and south points of the trackers.
Declaration
public void GetMinMaxValuesFromTrackers(IEnumerable<TrackerInfo> trackerInfos, out Point3D minValues, out Point3D maxValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TrackerInfo> | trackerInfos | The trackers to consider. |
Point3D | minValues | The minimum values (X and Y are in workbook projection, Z is in metres above sea-level). |
Point3D | maxValues | The maximum values (X and Y are in workbook projection, Z is in metres above sea-level). |
OutputTrackerGroupsToLog(IEnumerable<TrackerGroup>)
Outputs the specified tracker groups to the log.
Declaration
public static void OutputTrackerGroupsToLog(IEnumerable<TrackerGroup> trackerGroups)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TrackerGroup> | trackerGroups | The tracker groups. |
OutputTrackerInfosToLog(IEnumerable<TrackerInfo>)
Outputs the specified tracker infos to the log.
Declaration
public static void OutputTrackerInfosToLog(IEnumerable<TrackerInfo> trackerInfos)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TrackerInfo> | trackerInfos | The tracker infos. |