|
|
@ -1,4 +1,4 @@
|
|
|
|
import { EllipseCurve, Geometry, Vector3 } from 'three';
|
|
|
|
import { EllipseCurve, Geometry, Matrix4, Vector3 } from 'three';
|
|
|
|
import * as THREE from 'three';
|
|
|
|
import * as THREE from 'three';
|
|
|
|
|
|
|
|
|
|
|
|
import { ColorMaterial } from '../Common/ColorPalette';
|
|
|
|
import { ColorMaterial } from '../Common/ColorPalette';
|
|
|
@ -80,6 +80,14 @@ export class Circle extends Entity
|
|
|
|
geo.computeBoundingSphere();
|
|
|
|
geo.computeBoundingSphere();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ApplyMatrix(m: Matrix4)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
super.ApplyMatrix(m);
|
|
|
|
|
|
|
|
this.m_Center.applyMatrix4(m);
|
|
|
|
|
|
|
|
this.Update();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GetSnapPoints(): Array<THREE.Vector3>
|
|
|
|
GetSnapPoints(): Array<THREE.Vector3>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return this.GetStretchPoints();
|
|
|
|
return this.GetStretchPoints();
|
|
|
|