logo

Struct geo::algorithm::kernels::simple::SimpleKernel[][src]

pub struct SimpleKernel;
Expand description

Simple kernel provides the direct implementation of the predicates. These are meant to be used with exact arithmetic signed tpyes (eg. i32, i64).

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Gives the orientation of 3 2-dimensional points: ccw, cw or collinear (None) Read more

Compute the sign of the dot product of u and v using robust predicates. The output is CounterClockwise if the sign is positive, Clockwise if negative, and Collinear if zero. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.