public GroupCentroidReferences(GameObject myGameObject) { gameObject = myGameObject; groupCentroidScript = myGameObject.GetComponent <GroupCentroid>(); }
private void CalculateCentroid(DataTable data, EastingNorthingColumnIndexer indexer) { var gen = new GroupCentroid(data, indexer); centroid = gen.GetCentreCoordinates(); }