MCPcopy Create free account

hub / github.com/Incline-Developers/Incline / functions

Functions1,439 in github.com/Incline-Developers/Incline

↓ 8 callersMethodfit_view_to_extents
(&mut self)
src/app/mod.rs:389
↓ 8 callersFunctiongeometric_offset
Offset each edge of a polyline/polygon perpendicular to itself in the XY plane, then intersect adjacent offset edges to find the new vertices. `signe
src/model/geometry.rs:89
↓ 8 callersFunctionload
(path: impl AsRef<Path>)
src/model/pidb.rs:254
↓ 8 callersMethodnumeric_values_range
Values for blocks `start..end` only, decoding just the value pages covering that range. Lets a paged viewer show a slice of a large model without deco
src/model/formats/bmf.rs:171
↓ 8 callersMethodpeek
(&self)
src/model/formats/bmf.rs:1299
↓ 8 callersFunctionread_dgd_points_bytes
(bytes: &[u8])
src/model/formats/isis.rs:135
↓ 8 callersMethodrequest_topology_redraw
Request a redraw for topology-only style/selection changes without rebuilding the document vector scene. Triangulations and block models render from
src/app/mod.rs:343
↓ 8 callersFunctionsave
(path: impl AsRef<Path>, pidb: &PidbFile)
src/model/pidb.rs:401
↓ 8 callersMethodselected
(mut self, selected: bool)
src/ui/widgets/toolbar.rs:31
↓ 8 callersFunctionuniform_grid
A grid with one material filling every cell at the given straight-alpha, laid out as `dims` cells spanning `[0, extent]` on each axis.
src/rendering/scene/volume_reference.rs:593
↓ 8 callersMethodusize
(&self, key: &str)
src/model/formats/bmf.rs:1126
↓ 8 callersFunctionxorshift
Deterministic xorshift so the randomized grids/rays are reproducible.
src/rendering/scene/volume_reference.rs:766
↓ 7 callersMethodactive_project
(&self)
src/model/pidb.rs:103
↓ 7 callersFunctionbuild_vulz
Build a synthetic vulZ container. Each page is (logical page number, fill byte); number 0 places sequentially like older Vulcan files.
src/model/formats/tri00t.rs:1087
↓ 7 callersMethodcancel_move_delta
(&mut self)
src/app/commands/drawing/move_tool.rs:46
↓ 7 callersMethodclear_road_preview_geometry
(&mut self)
src/app/commands/drawing/road.rs:84
↓ 7 callersMethodfor_each_xy_bounds_candidate_index_with_stack
( &self, min: DVec2, max: DVec2, stack: &mut Vec<usize>, mut visit: im
src/model/spatial.rs:384
↓ 7 callersFunctionmenu_field_row
( ui: &mut egui::Ui, label: egui::WidgetText, add_field: impl FnOnce(&mut egui::Ui, f32) -> R, )
src/ui/widgets/menu.rs:105
↓ 7 callersFunctionpoint_in_polygon_xy
Point-in-polygon test for a 2D polygon (XY plane), boundary-inclusive. Thin adapter over the robust kernel test.
src/app/commands/triangulation/geometry.rs:3
↓ 7 callersFunctionpoints_coincident
(a: DVec3, b: DVec3)
src/model/geometry.rs:262
↓ 7 callersFunctionread_chunk
Converts a byte slice into a fixed-size array, returning a `BmfError` instead of panicking if the slice is unexpectedly short. `chunks_exact` callers
src/model/formats/bmf.rs:1039
↓ 7 callersFunctionrenderable_block_keys
Keys of the blocks that will actually be drawn: renderable geometry minus blocks the fragment shader hides outright. Only drawn blocks may cull a neig
src/rendering/scene/gpu_cache.rs:2718
↓ 7 callersMethodresolve
(&self, offset: usize)
src/model/formats/isis.rs:423
↓ 7 callersMethodstyle
(mut self, style: ViewportLabelStyle)
src/ui/widgets/viewport.rs:1016
↓ 7 callersFunctionvector_to_dvec3
(vector: &dxf::Vector)
src/model/geometry.rs:9
↓ 7 callersMethodwith_id_and_layer
(&self, id: ObjectId, layer: LayerId)
src/model/mod.rs:211
↓ 6 callersMethodappend_layer_snapshot
Append a layer and its objects while retaining their runtime ids.
src/model/mod.rs:446
↓ 6 callersFunctionblock_model_color_values
(block_model: &OpenBlockModel)
src/rendering/scene/gpu_cache.rs:1062
↓ 6 callersMethodbrick_range
The cell-index range `[lo, hi)` of the brick containing `cell` on one axis, clipped to the grid like the shader's `min(bx0 + bs, dims)`.
src/rendering/scene/volume_reference.rs:138
↓ 6 callersFunctioncdt_surface_from_breaklines
( rings: &[Vec<glam::DVec3>], )
src/app/commands/triangulation/creation.rs:416
↓ 6 callersFunctionclosest_t_on_segment
Parameter `t in [0, 1]` of the closest point on segment `a-b` to `p`.
src/rendering/pick.rs:65
↓ 6 callersFunctioncolor32_to_rgba
(c: egui::Color32)
src/rendering/color.rs:593
↓ 6 callersMethodcursor_world
World coordinate under the current cursor on the plane `z = plane_z`, using the last cursor position tracked by the camera controller.
src/rendering/graphics/camera.rs:93
↓ 6 callersFunctiondecode_ascii_name
(bytes: &[u8])
src/model/formats/isis.rs:1073
↓ 6 callersFunctiondecode_name
(bytes: &[u8])
src/model/formats/isis.rs:1103
↓ 6 callersMethoddrain
Assign up to `max_uploads` queued bricks to free slots, returning the pool uploads and `brick_info` rewrites to apply. Draining is bounded so a big ca
src/rendering/scene/gpu_cache.rs:1716
↓ 6 callersFunctiondraw_screen_sphere
Draw a filled circle (sphere indicator) in screen space at the given world position. `radius_px` is in device pixels.
src/rendering/geometry.rs:81
↓ 6 callersMethodexaggerate_point
(&self, point: DVec3)
src/rendering/graphics/camera.rs:58
↓ 6 callersFunctionfind_cell
Port of `find_x_cell`/`find_y_cell`/`find_z_cell`: index of the last plane `<= value`, clamped to a valid cell index.
src/rendering/scene/volume_reference.rs:555
↓ 6 callersMethodfinish_generated_triangulation
Build the mesh/BVH/edges for a freshly generated triangulation, register it, and select it. Shared by the CDT and loft generation paths.
src/app/commands/triangulation/session.rs:305
↓ 6 callersMethodfinish_topology_load
(&mut self)
src/app/mod.rs:380
↓ 6 callersFunctiongeometric_offset_project_to_rl
Project each vertex of a polyline outward (perpendicular, XY) by the horizontal distance implied by *its own* elevation and a fixed batter angle, so e
src/model/geometry.rs:201
↓ 6 callersMethodhas_pending_move_delta
(&self)
src/app/commands/drawing/move_tool.rs:102
↓ 6 callersFunctionkept_area
(verts: &[tri00t::Vertex], faces: &[[u32; 3]])
src/app/commands/triangulation/cuts.rs:1182
↓ 6 callersFunctionlocal
(point: DVec3, origin: DVec3)
src/rendering/geometry.rs:23
↓ 6 callersFunctionmake_translucent
(color: &mut [f32; 4])
src/rendering/scene/gpu_cache.rs:148
↓ 6 callersMethodobject_rgba
Resolved RGBA for an object, following its layer when `ByLayer`.
src/model/mod.rs:371
↓ 6 callersFunctionplane_index
(planes: &[f32], value: f32)
src/rendering/scene/gpu_cache.rs:2575
↓ 6 callersFunctionproject_onto_segment
Closest point on segment `a -> b` to `p`, with its clamped parameter.
src/model/kernel.rs:206
↓ 6 callersFunctionquantize
(value: f64)
src/rendering/scene/gpu_cache.rs:2778
↓ 6 callersFunctionread_dgd_design_bytes
(bytes: &[u8])
src/model/formats/isis.rs:139
↓ 6 callersMethodrevision
(&self)
src/model/mod.rs:477
↓ 6 callersFunctionrgba_to_color32
(rgba: [f32; 4])
src/rendering/color.rs:584
↓ 6 callersFunctionselect_pidb_action_row
( ui: &mut egui::Ui, icon: egui::Image<'static>, label: &'static str, width: f32, height:
src/ui/dialogs/editing.rs:618
↓ 6 callersFunctionsigned_area_xy
Signed XY area of a ring (shoelace); positive means CCW viewed from above.
src/app/commands/triangulation/creation.rs:812
↓ 6 callersMethodvariable
(&self, name: &str)
src/model/formats/bmf.rs:152
↓ 6 callersFunctionweld_breakline_vertices
Snap breakline vertices that coincide within the given tolerances (XY horizontally, Z vertically, both metres) onto one canonical position, across all
src/app/commands/triangulation/creation.rs:165
↓ 6 callersFunctionwrite_fixed_name
(slot: &mut [u8], name: &str)
src/model/formats/isis.rs:1686
↓ 6 callersFunctionwrite_text_line_record
(bytes: &mut [u8], offset: usize, content: &str)
src/model/formats/isis.rs:1251
↓ 5 callersFunctionappend_page
(file: &mut Vec<u8>, number: u32, body: &[u8])
src/model/formats/tri00t.rs:1114
↓ 5 callersMethodapply_runtime_namespace
Assign every layer and object a runtime namespace. PIDB ids are local to a file; namespacing makes them safe to combine in one scene.
src/model/mod.rs:413
↓ 5 callersMethodas_object
(&self)
src/model/formats/bmf.rs:1091
↓ 5 callersFunctionbrick_index
Linear index of a brick within the dense `brick_table`.
src/rendering/scene/gpu_cache.rs:2594
↓ 5 callersFunctionbuild_mesh
( vertices: Vec<Vertex>, triangles: Vec<[u32; 3]>, )
src/model/formats/mod.rs:743
↓ 5 callersFunctionclip_target_triangle_to_reference_xy
( target: [tri00t::Vertex; 3], reference: [tri00t::Vertex; 3], )
src/app/commands/triangulation/cuts.rs:925
↓ 5 callersMethodcommit_pending_move
Commit any pending move to history without applying an additional delta. Unlike `cancel_move_delta` (which reverts objects), this keeps the current d
src/app/commands/drawing/move_tool.rs:64
↓ 5 callersFunctiondecode_vulz_archive
Decode a vulZ container by walking its pointer tree. The file is a tree of 8-byte records. A record whose `second` word is zero starts a pointer bloc
src/model/formats/tri00t.rs:508
↓ 5 callersFunctiondescribe_edge_conflict
Classify how segment `a->b` conflicts with segment `c->d` in the XY plane, if at all. `None` means these two edges specifically don't touch (the real
src/app/commands/triangulation/creation.rs:253
↓ 5 callersFunctionenvelope_z
(envelope: &PitShellLowerEnvelope, x: f64, y: f64)
src/app/commands/triangulation/cuts.rs:1217
↓ 5 callersFunctionfile_name
(path: &Path)
src/app/mod.rs:901
↓ 5 callersMethodfinish
(self)
src/rendering/scene/gpu_cache.rs:1507
↓ 5 callersFunctiongrade_for_block
( color_values: &Option<BlockModelColorValues>, block_index: usize, hide_empty: bool, )
src/rendering/scene/gpu_cache.rs:1107
↓ 5 callersMethodhas_active_project
(&self)
src/model/pidb.rs:119
↓ 5 callersFunctionidentity_frustum
With `view_proj = IDENTITY`, clip == input, so this project's D3D clip volume is exactly `x,y in [-1, 1]`, `z in [0, 1]`.
src/rendering/graphics/frustum.rs:57
↓ 5 callersFunctionl1_rle_page
Level-1 compress `len` copies of `fill` (a literal then RLE matches), as a stored page body.
src/model/formats/tri00t.rs:1066
↓ 5 callersMethodlayer_id
(&mut self, name: &str)
src/model/formats/dxf.rs:89
↓ 5 callersFunctionline_line_intersect_t
Intersect the *infinite* line through `a`,`b` with the *segment* `c`–`d`. Returns the parameter `t` along `a`→`b` (any value), but only when the hit l
src/app/commands/drawing/relimit.rs:529
↓ 5 callersFunctionlocal_to_global_path
(path: &str)
src/app/io.rs:137
↓ 5 callersFunctionnormalize_or_z
(vector: DVec3)
src/model/geometry.rs:13
↓ 5 callersFunctionopen_project
( path: Option<PathBuf>, mut pidb: PidbFile, dirty: bool, )
src/model/pidb.rs:985
↓ 5 callersFunctionpoint_in_triangle_bary_z
Barycentric Z of `(x, y)` on triangle `v`, inclusive of XY edges. `None` outside the triangle or when its XY projection is degenerate.
src/app/commands/triangulation/cuts.rs:819
↓ 5 callersFunctionport_of
(node: &Node, edge: usize, at_start: bool)
src/model/road_network.rs:295
↓ 5 callersFunctionrate_interval
(rate: u32)
src/app/mod.rs:46
↓ 5 callersFunctionread_be_u32
(bytes: &[u8], offset: usize)
src/model/formats/tri00t.rs:999
↓ 5 callersMethodshow
( self, ctx: &egui::Context, add_contents: impl FnOnce(&mut egui::Ui) -> R, )
src/ui/widgets/viewport.rs:45
↓ 5 callersFunctiontriangle_xy_bounds
(triangle: [tri00t::Vertex; 3])
src/app/commands/triangulation/cuts.rs:878
↓ 5 callersMethodup
(&self)
src/rendering/camera.rs:72
↓ 5 callersFunctionwrite_layer_header_record
(bytes: &mut [u8], offset: usize, flag: u8, name: &str)
src/model/formats/isis.rs:1265
↓ 4 callersMethodactive_layer_object
(&self, object_id: ObjectId)
src/app/mod.rs:249
↓ 4 callersMethodappearance_class
The appearance class a payload resolves to for uniformity purposes: `None` when the cell is invisible (empty, or ramp alpha below the epsilon), otherw
src/rendering/scene/volume_reference.rs:149
↓ 4 callersFunctionappend_surface_clip_polygon
( polygon: &[SurfaceClipVertex], vertices: &mut Vec<tri00t::Vertex>, faces: &mut Vec<[u32; 3]>, )
src/app/commands/triangulation/cuts.rs:1151
↓ 4 callersMethodapply_history_step
(&mut self, undo: bool)
src/app/commands/mod.rs:16
↓ 4 callersFunctionarc_segment_count
(radius: f64, sweep: f64)
src/model/formats/dxf.rs:623
↓ 4 callersFunctionblock_key
(block: crate::model::block_model::BlockBounds)
src/rendering/scene/gpu_cache.rs:2767
↓ 4 callersFunctionblock_model_style
(block_model: &OpenBlockModel, translucent: bool)
src/rendering/scene/gpu_cache.rs:1355
↓ 4 callersMethodbrick_cells
The `CELLS_PER_BRICK` payloads of the brick with this ordinal.
src/rendering/scene/gpu_cache.rs:1430
↓ 4 callersFunctionbrick_local_index
Offset of a cell within its brick's `BRICK_SIZE^3` packed payload block.
src/rendering/scene/gpu_cache.rs:2599
↓ 4 callersFunctionbuild_block_model_edge_chunks
( device: &wgpu::Device, scene_origin: DVec3, block_model: &OpenBlockModel, )
src/rendering/scene/gpu_cache.rs:2800
↓ 4 callersFunctionbuild_block_model_surface_chunks
( device: &wgpu::Device, scene_origin: DVec3, block_model: &OpenBlockModel, cull_shared_faces:
src/rendering/scene/gpu_cache.rs:1249
↓ 4 callersFunctionbuild_surface_chunks_unless_volume
Build the opaque/transparent surface-chunk sets for a block model, unless the volume raycaster will render it. When a volume asset is present the surf
src/rendering/scene/gpu_cache.rs:1173
← previousnext →101–200 of 1,439, ranked by callers