use crate::cmap::{CMap3, DartIdType, LinkError};
use crate::geometry::CoordsFloat;
use crate::stm::{Transaction, TransactionClosureResult};
impl<T: CoordsFloat> CMap3<T> {
pub(crate) fn two_link_tx(
&self,
t: &mut Transaction,
lhs_dart_id: DartIdType,
rhs_dart_id: DartIdType,
) -> TransactionClosureResult<(), LinkError> {
self.betas.two_link_core(t, lhs_dart_id, rhs_dart_id)
}
}
impl<T: CoordsFloat> CMap3<T> {
pub(crate) fn two_unlink_tx(
&self,
t: &mut Transaction,
lhs_dart_id: DartIdType,
) -> TransactionClosureResult<(), LinkError> {
self.betas.two_unlink_core(t, lhs_dart_id)
}
}