pub trait GPCPatchSampleTraitConst {
// Required method
fn as_raw_GPCPatchSample(&self) -> *const c_void;
// Provided methods
fn ref_(&self) -> GPCPatchDescriptor { ... }
fn pos(&self) -> GPCPatchDescriptor { ... }
fn neg(&self) -> GPCPatchDescriptor { ... }
fn get_directions(
&self,
refdir: &mut bool,
posdir: &mut bool,
negdir: &mut bool,
coef: VecN<f64, 18>,
rhs: f64,
) -> Result<()> { ... }
}
Expand description
Constant methods for crate::optflow::GPCPatchSample