pub struct HalfPlane {
pub normal: FixedVector,
pub offset: FixedPoint,
pub neighbor_id: String,
}Expand description
A half-plane constraint defining one face of a power cell.
Represents: ⟨q, normal⟩ ≤ offset where q is on node i’s side of the bisector with neighbor j.
Fields§
§normal: FixedVectorNormal vector (direction p_j - p_i in Klein space)
offset: FixedPointOffset threshold: ||p_j||² - ||p_i||²
neighbor_id: StringWhich tree neighbor defines this boundary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HalfPlane
impl RefUnwindSafe for HalfPlane
impl Send for HalfPlane
impl Sync for HalfPlane
impl Unpin for HalfPlane
impl UnsafeUnpin for HalfPlane
impl UnwindSafe for HalfPlane
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more