package geoml

  1. Overview
  2. Docs

Module ConstraintSource

Strict and large linear constraints mmanipulation

Sourcetype comp =
  1. | Lt
  2. | Gt
  3. | Leq
  4. | Geq
Sourceval neg : comp -> comp
Sourcetype t = private Line.t * comp
Sourceval make : Line.t -> comp -> t
Sourceval get_comp : t -> comp
Sourceval get_border : t -> Line.t
Sourceval contains : t -> Point.t -> bool

contains c p returns true if the point p is in the half-space defined by c

Sourceval complementary : t -> t

returns the complementary constraint of a constraint

Sourceval translate : float -> float -> t -> t
Sourceval intersects : t -> t -> bool
Sourceval print : Format.formatter -> t -> unit