|
@@ -1,3 +1,16 @@
|
|
|
|
+/*
|
|
|
|
+ * iGeom by LInE
|
|
|
|
+ * Free software to student private data
|
|
|
|
+ *
|
|
|
|
+ * http://www.matematica.br/igeom
|
|
|
|
+ * http://www.usp.br/line
|
|
|
|
+ *
|
|
|
|
+ * Take care of mouse event "selecting area"
|
|
|
|
+ *
|
|
|
|
+ * ./app/core/application/selector.js
|
|
|
|
+ * @version 2023/07/14: Added comments
|
|
|
|
+ */
|
|
|
|
+
|
|
import { APP_STATE } from "../enums/app-state-enum";
|
|
import { APP_STATE } from "../enums/app-state-enum";
|
|
import { stageManager as Stages } from "./stage-manager";
|
|
import { stageManager as Stages } from "./stage-manager";
|
|
import { state as State } from "../application/state";
|
|
import { state as State } from "../application/state";
|
|
@@ -71,7 +84,7 @@ export class Selector {
|
|
return objects.map(x => x.genericObject);
|
|
return objects.map(x => x.genericObject);
|
|
}
|
|
}
|
|
|
|
|
|
- // Check if objets inside "selectable" rectable is "selectable"
|
|
|
|
|
|
+ // Check if objets inside "selectable" rectangle is "selectable"
|
|
getSelectedPointsAggregators () { // accept only points
|
|
getSelectedPointsAggregators () { // accept only points
|
|
const objects = this.getSelectedAggregators().filter(
|
|
const objects = this.getSelectedAggregators().filter(
|
|
x =>
|
|
x =>
|