Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Formlabs/foxtrot
/ functions
Functions
523 in github.com/Formlabs/foxtrot
⨍
Functions
523
◇
Types & classes
211
↓ 2 callers
Function
factor
(s: &str)
express/src/parse.rs:955
↓ 2 callers
Function
format_fn_signature
(name, arg_list, return_type)
experiments/generate_types.py:4
↓ 2 callers
Function
function_decl
(s: &str)
express/src/parse.rs:993
↓ 2 callers
Method
insert_bare
Inserts a point without a hint
cdt/src/hull.rs:213
↓ 2 callers
Method
iter_triangles
(&self)
cdt/src/half.rs:145
↓ 2 callers
Method
line_to
(&mut self, x: f32, y: f32)
cdt/examples/font.rs:34
↓ 2 callers
Method
link
Sets a pair of edges as each others buddies. They must have compatible `src`/`dst` values, no pre-existing buddies, and the same value for `fixed`; o
cdt/src/half.rs:362
↓ 2 callers
Function
list0
Returns a parser for zero or more items p, delimited by c with whitespace
express/src/parse.rs:53
↓ 2 callers
Function
loadMeshFromString
(s)
wasm/deploy/app.js:38
↓ 2 callers
Method
mat_i
(&self)
gui/src/camera.rs:73
↓ 2 callers
Method
mouse_scroll
(&mut self, delta: f32)
gui/src/camera.rs:113
↓ 2 callers
Function
new_from_contours
()
cdt/src/triangulate.rs:1515
↓ 2 callers
Method
normal
Calculate the surface normal, using either the 3D or 2D position
triangulate/src/surface.rs:376
↓ 2 callers
Method
redraw
Redraw the GUI, returning true if the model was not drawn (which means that the parent loop should keep calling redraw to force model load)
gui/src/app.rs:172
↓ 2 callers
Method
set_position
(&mut self, x: f32, y: f32)
cdt/examples/font.rs:20
↓ 2 callers
Method
start
(&self)
cdt/src/hull.rs:127
↓ 2 callers
Function
strip_comments_and_lower
Remove comments from an EXPRESS file and converts to lower-case. This should be run before any parsers.
express/src/parse.rs:109
↓ 2 callers
Method
surface_point
Converts a point at position uv onto the 3D mesh, using basis functions of order `p + 1` and `q + 1` respectively. ALGORITHM A3.5
nurbs/src/nd_surface.rs:49
↓ 2 callers
Method
to_attr_type_str
(&'a self, type_map: &mut TypeMap<'a>)
express/src/gen.rs:890
↓ 2 callers
Method
to_svg
Converts the current state of the triangulation to an SVG. When `debug` is true, includes the upper hull and to-be-fixed edges; otherwise, just shows
cdt/src/triangulate.rs:1158
↓ 2 callers
Method
to_type
(&'a self, type_map: &mut TypeMap<'a>)
express/src/gen.rs:658
↓ 2 callers
Function
transform_stack_roots
(transform_stack: &TransformStack<'a>)
triangulate/src/triangulate.rs:53
↓ 2 callers
Method
u_from_point
(&self, p: DVec3)
nurbs/src/sampled_curve.rs:83
↓ 2 callers
Method
values
Iterates over all edges stored in the Hull, in order
cdt/src/hull.rs:284
↓ 2 callers
Function
vertex_point
(s: &StepFile, v: Vertex)
triangulate/src/triangulate.rs:775
↓ 1 callers
Function
actual_parameter_list
(s: &str)
express/src/parse.rs:311
↓ 1 callers
Function
acute
Checks whether the angle given by a-b-c is acute, returning a positive value if that is the case.
cdt/src/predicates.rs:13
↓ 1 callers
Method
add_steiner_points
(&self, pts: &mut Vec<(f64, f64)>, verts: &mut Vec<Vertex>)
triangulate/src/surface.rs:336
↓ 1 callers
Function
aggregate_initializer
(s: &str)
express/src/parse.rs:331
↓ 1 callers
Method
as_polyline
(&self, u_start: f64, u_end: f64, num_points_per_knot: usize)
nurbs/src/nd_curve.rs:71
↓ 1 callers
Function
axisX
()
wasm/deploy/scene.js:84
↓ 1 callers
Method
build
(&self, u: DVec3, v: DVec3)
triangulate/src/curve.rs:62
↓ 1 callers
Method
build_ref_map
(&'a self, ref_map: &mut HashMap<&'a str, Ref<'a>>)
express/src/gen.rs:573
↓ 1 callers
Function
centroid
(a: Point, b: Point, c: Point)
cdt/src/predicates.rs:49
↓ 1 callers
Method
check_acute_left
(&mut self, p: PointIndex, h_p: HullIndex)
cdt/src/triangulate.rs:655
↓ 1 callers
Method
check_acute_right
(&mut self, p: PointIndex, h_p: HullIndex)
cdt/src/triangulate.rs:707
↓ 1 callers
Method
collect_entity_names
(&self, entity_names: &mut HashSet<&'a str>)
express/src/gen.rs:568
↓ 1 callers
Function
curve
(s: &StepFile, edge_curve: &ap214::EdgeCurve_, curve_id: ap214::Curve, orientation: bool)
triangulate/src/triangulate.rs:683
↓ 1 callers
Function
derived_attr
(s: &str)
express/src/parse.rs:763
↓ 1 callers
Method
device_event
(&mut self, e: DeviceEvent)
gui/src/app.rs:72
↓ 1 callers
Method
disambiguate
(&mut self, entity_names: &HashSet<&str>)
express/src/gen.rs:578
↓ 1 callers
Function
distance2
(a: Point, b: Point)
cdt/src/predicates.rs:53
↓ 1 callers
Function
edge_curve
(s: &StepFile, e: EdgeCurve, orientation: bool)
triangulate/src/triangulate.rs:669
↓ 1 callers
Function
edge_loop
(s: &StepFile, edge_list: &[OrientedEdge])
triangulate/src/triangulate.rs:652
↓ 1 callers
Function
entity_body
(s: &str)
express/src/parse.rs:811
↓ 1 callers
Function
entity_head
(s: &str)
express/src/parse.rs:843
↓ 1 callers
Method
erase
Erases a triangle, clearing its neighbors buddies
cdt/src/half.rs:315
↓ 1 callers
Function
explicit_attr
(s: &str)
express/src/parse.rs:926
↓ 1 callers
Function
face_bound
(s: &StepFile, b: FaceBound)
triangulate/src/triangulate.rs:629
↓ 1 callers
Method
finalize
Finalizes the triangulation by making the outer hull convex (in the case of unconstrained triangulation), or removing unattached triangles (for CDT).
cdt/src/triangulate.rs:466
↓ 1 callers
Method
find_hull_walk_mode
Finds which mode to begin walking through the triangulation when inserting a fixed edge. h is a [`HullIndex`] equivalent to the `src` point, and `dst
cdt/src/triangulate.rs:751
↓ 1 callers
Method
fit_verts
(&mut self, verts: &[Vertex])
gui/src/camera.rs:119
↓ 1 callers
Method
flood_erase_from
Performs a flood fill from `e`, which is presumed to be outside the triangulation. Every triangle outside the boundary is removed, using odd-even cou
cdt/src/half.rs:167
↓ 1 callers
Function
format_entity
(entity_name, entity_fields_list, ancestor_dict, ancestor_list, direct_children_list)
experiments/generate_types.py:98
↓ 1 callers
Function
format_entity_enum
(entity_name, direct_children_list, ancestor_list)
experiments/generate_types.py:82
↓ 1 callers
Function
format_entity_struct
ancestor_dict: dict from the name of a direct parent to the names of all ancestors of that parent (in no particular order)
experiments/generate_types.py:19
↓ 1 callers
Function
format_entity_trait
(entity_name, entity_fields_list)
experiments/generate_types.py:59
↓ 1 callers
Function
format_entity_trait_impl
(entity_name, struct_name, entity_fields_list)
experiments/generate_types.py:70
↓ 1 callers
Function
format_fn
(signature, body_list)
experiments/generate_types.py:11
↓ 1 callers
Function
format_lookup_method
(non_abstract_entities, direct_parents_dict)
experiments/generate_types.py:118
↓ 1 callers
Function
generate_delegation_example
()
experiments/generate_types.py:195
↓ 1 callers
Function
get_paths_to_roots
(entity, direct_parents_dict)
experiments/generate_types.py:181
↓ 1 callers
Function
get_surface
(s: &StepFile, surf: ap214::Surface)
triangulate/src/triangulate.rs:503
↓ 1 callers
Method
handle_fixed_edge
(&mut self, h: HullIndex, src: PointIndex, dst: PointIndex)
cdt/src/triangulate.rs:1052
↓ 1 callers
Function
if_stmt
(s: &str)
express/src/parse.rs:1192
↓ 1 callers
Function
in_circle
(a: Point, b: Point, c: Point, d: Point)
cdt/src/predicates.rs:3
↓ 1 callers
Function
init_log
()
wasm/src/lib.rs:14
↓ 1 callers
Method
initialize
Inserts the first point, along with its associated edge, tied into a tiny loop with itself
cdt/src/hull.rs:63
↓ 1 callers
Function
interval
(s: &str)
express/src/parse.rs:1291
↓ 1 callers
Function
interval_op
(s: &str)
express/src/parse.rs:1318
↓ 1 callers
Method
is_redeclared
(&self)
express/src/gen.rs:882
↓ 1 callers
Function
item_defined_transformation
(s: &StepFile, t: Id<ItemDefinedTransformation_>)
triangulate/src/triangulate.rs:251
↓ 1 callers
Method
iter_edges
(&self)
cdt/src/half.rs:139
↓ 1 callers
Function
lookup_autogen
(id: &Id<T>, storage: &HashMap<usize, Box<dyn Any>>)
experiments/delegation_example_autogen.rs:154
↓ 1 callers
Method
lower_verts
(&mut self, verts: &mut [Vertex])
triangulate/src/surface.rs:251
↓ 1 callers
Method
make_outer_hull_convex
Walks the upper hull, making it convex. This should only be called once from `finalize()`.
cdt/src/triangulate.rs:413
↓ 1 callers
Method
mat
(&self)
gui/src/camera.rs:69
↓ 1 callers
Function
min3
Finds the three points in the given buffer with the lowest score, returning then in order (so that out[0] is closest) This is faster than sorting an
cdt/src/triangulate.rs:1249
↓ 1 callers
Method
mouse_move
(&mut self, new_pos: Vec2)
gui/src/camera.rs:84
↓ 1 callers
Method
mouse_pressed
(&mut self, button: MouseButton)
gui/src/camera.rs:49
↓ 1 callers
Method
mouse_released
(&mut self, button: MouseButton)
gui/src/camera.rs:59
↓ 1 callers
Method
move_point
Transitions the point -> hull random lookup from `old` to `new`. This is required when two points have the exact same pseudoangle.
cdt/src/hull.rs:205
↓ 1 callers
Function
onWindowResize
()
wasm/deploy/scene.js:41
↓ 1 callers
Function
open_shell
(s: &StepFile, c: OpenShell, mesh: &mut Mesh, stats: &mut Stats)
triangulate/src/triangulate.rs:340
↓ 1 callers
Function
parse_entity_fallback
(s: &[u8])
step/src/parse.rs:213
↓ 1 callers
Method
patient
(&self)
experiments/delegation_example_autogen.rs:149
↓ 1 callers
Method
point_from_basis
(&self, uspan: usize, Nu: &VecF, vspan: usize, Nv: &VecF)
nurbs/src/nurbs_surface.rs:11
↓ 1 callers
Function
populateExamples
(d)
wasm/deploy/app.js:85
↓ 1 callers
Method
prepare
(&mut self, verts: &[Vertex])
triangulate/src/surface.rs:209
↓ 1 callers
Function
presentation_style_color
(s: &StepFile, p: PresentationStyleAssignment)
triangulate/src/triangulate.rs:271
↓ 1 callers
Method
raise
(&self, uv: DVec2)
triangulate/src/surface.rs:280
↓ 1 callers
Function
repeat_stmt
(s: &str)
express/src/parse.rs:1846
↓ 1 callers
Function
return_stmt
(s: &str)
express/src/parse.rs:1886
↓ 1 callers
Function
run
()
wasm/deploy/worker.js:4
↓ 1 callers
Function
run
(start: SystemTime, event_loop: EventLoop<()>, window: Window, loader: std::thread::JoinHandle<Me
gui/src/main.rs:16
↓ 1 callers
Function
save_debug_panic
Given a set of points and edges which are known to panic, figures out the max number of save steps, then saves an SVG right before the panic occurs
cdt/src/lib.rs:138
↓ 1 callers
Method
save_stl
Writes the triangulation to a STL, for debugging
triangulate/src/mesh.rs:33
↓ 1 callers
Method
scale
(&mut self, value: f32, pos: Vec2)
gui/src/camera.rs:169
↓ 1 callers
Function
select_type
(s: &str)
express/src/parse.rs:2034
↓ 1 callers
Method
set_offset
(&mut self, dx: f32, dy: f32)
cdt/examples/font.rs:15
← previous
next →
101–200 of 523, ranked by callers