pub fn evaluate_transform_handle_positions(&self) -> [DVec2; 8] {
		let (left, top): (f64, f64) = self.bounds[0].into();
		let (right, bottom): (f64, f64) = self.bounds[1].into();
		[
			self.transform.transform_point2(DVec2::new(left, top)),
			self.transform.transform_point2(DVec2::new(left, (top + bottom) / 2.)),
			self.transform.transform_point2(DVec2::new(left, bottom)),
			self.transform.transform_point2(DVec2::new((left + right) / 2., top)),
			self.transform.transform_point2(DVec2::new((left + right) / 2., bottom)),
			self.transform.transform_point2(DVec2::new(right, top)),
			self.transform.transform_point2(DVec2::new(right, (top + bottom) / 2.)),
			self.transform.transform_point2(DVec2::new(right, bottom)),
		]
	}
/// Calculats the transformed handle positions based on the bounding box and the transform
Calculats the transformed handle positions based on the bounding box and the transform
Calculats the transformed handle positions based on the bounding box and the transform
pub fn evaluate_transform_handle_positions(&self) -> [DVec2; 8] {
		let (left, top): (f64, f64) = self.bounds[0].into();
		let (right, bottom): (f64, f64) = self.bounds[1].into();
		[
			self.transform.transform_point2(DVec2::new(left, top)),
			self.transform.transform_point2(DVec2::new(left, (top + bottom) / 2.)),
			self.transform.transform_point2(DVec2::new(left, bottom)),
			self.transform.transform_point2(DVec2::new((left + right) / 2., top)),
			self.transform.transform_point2(DVec2::new((left + right) / 2., bottom)),
			self.transform.transform_point2(DVec2::new(right, top)),
			self.transform.transform_point2(DVec2::new(right, (top + bottom) / 2.)),
			self.transform.transform_point2(DVec2::new(right, bottom)),
		]
	}
pub fn evaluate_transform_handle_positions ( & self ) -> [ DVec2 ; 8 ] { let ( left , top ) : ( f64 , f64 ) = self . bounds [ 0 ] . into ( ) ; let ( right , bottom ) : ( f64 , f64 ) = self . bounds [ 1 ] . into ( ) ; [ self . transform . transform_point2 ( DVec2 :: new ( left , top ) ) , self . transform . transform_point2 ( DVec2 :: new ( left , ( top + bottom ) / 2. ) ) , self . transform . transform_point2 ( DVec2 :: new ( left , bottom ) ) , self . transform . transform_point2 ( DVec2 :: new ( ( left + right ) / 2. , top ) ) , self . transform . transform_point2 ( DVec2 :: new ( ( left + right ) / 2. , bottom ) ) , self . transform . transform_point2 ( DVec2 :: new ( right , top ) ) , self . transform . transform_point2 ( DVec2 :: new ( right , ( top + bottom ) / 2. ) ) , self . transform . transform_point2 ( DVec2 :: new ( right , bottom ) ) , ] }
Calculats the transformed handle positions based on the bounding box and the transform
Calculats the transformed handle positions based on the bounding box and the transform
&self
&self