package tiny_appkits

  1. Overview
  2. Docs
Application engines from scratch: a spreadsheet, rich text, paint, draw, CAD, editors and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_appkits.appkit_pushpull/Skp_infer/index.html

Module Skp_inferSource

Sourcetype kind =
  1. | Endpoint
  2. | Midpoint
  3. | On_axis of int
  4. | On_edge
  5. | On_face
  6. | Nowhere
Sourcetype found = {
  1. point : Vec3.t;
  2. kind : kind;
  3. vertex : int option;
  4. edge : (int * int) option;
  5. face : int option;
}
Sourceval name : kind -> string
Sourceval find : project:(Vec3.t -> (float * float) option) -> ray:(Vec3.t * Vec3.t) -> ?from:Vec3.t -> ?tolerance:float -> Skp_model.t -> (float * float) -> found
Sourceval along : (Vec3.t * Vec3.t) -> Vec3.t -> Vec3.t -> float
Sourceval on_plane : (Vec3.t * Vec3.t) -> Vec3.t -> Vec3.t -> Vec3.t option