package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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