Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cutdigital/mcut
/ functions
Functions
643 in github.com/cutdigital/mcut
⨍
Functions
643
◇
Types & classes
137
↓ 5 callers
Function
mcEnqueueGetConnectedComponentData
source/mcut.cpp:742
↓ 5 callers
Method
number_of_edges
source/hmesh.cpp:133
↓ 5 callers
Function
project_to_2d
https://answers.unity.com/questions/1522620/converting-a-3d-polygon-into-a-2d-polygon.html
source/math.cpp:654
↓ 5 callers
Method
setChildren
Children setter for convenience
include/mcut/internal/cdt/kdtree.h:59
↓ 5 callers
Function
wait_for_events_impl
source/frontend.cpp:597
↓ 4 callers
Function
Between
source/math.cpp:757
↓ 4 callers
Method
buildTree
three stages to BVH construction
source/bvh.cpp:731
↓ 4 callers
Function
convert
source/preproc.cpp:456
↓ 4 callers
Function
getWindingNumber
source/preproc.cpp:1542
↓ 4 callers
Method
get_connected_component_winding_order
include/mcut/internal/frontend.h:659
↓ 4 callers
Method
get_faces_around_face
source/hmesh.cpp:767
↓ 4 callers
Function
get_leaf_level_from_real_leaf_count
compute index (0...N-1) of the leaf level from the number of leaves
source/bvh.cpp:103
↓ 4 callers
Method
get_num_faces_around_face
source/hmesh.cpp:818
↓ 4 callers
Method
get_num_vertices_around_face
source/hmesh.cpp:693
↓ 4 callers
Function
get_opposite_triangle_index
Given triangle and a vertex find opposed triangle
include/mcut/internal/cdt/utils.h:386
↓ 4 callers
Function
get_rightmost_real_leaf
compute right-most leaf node in tree
source/bvh.cpp:140
↓ 4 callers
Function
get_square_distance
include/mcut/internal/cdt/utils.h:425
↓ 4 callers
Method
halfedges_begin
source/hmesh.cpp:891
↓ 4 callers
Method
is_border
source/hmesh.cpp:257
↓ 4 callers
Function
lerp
include/mcut/internal/cdt/triangulate.h:1308
↓ 4 callers
Method
number_of_halfedges
source/hmesh.cpp:138
↓ 4 callers
Method
prepare_and_submit_API_task
include/mcut/internal/frontend.h:692
↓ 4 callers
Function
release_events_impl
source/frontend.cpp:3726
↓ 4 callers
Function
remap_no_supertriangle
Remap removing super-triangle: subtract 3 from vertices
include/mcut/internal/cdt/triangulate.h:1136
↓ 4 callers
Method
remove_if
include/mcut/internal/tpool.h:948
↓ 4 callers
Function
sign
source/math.cpp:58
↓ 3 callers
Method
InitLeaf
include/mcut/internal/bvh.h:190
↓ 3 callers
Method
SurfaceArea
include/mcut/internal/math.h:651
↓ 3 callers
Function
are_equal
basic comparison of doubles
tutorials/FaceNormals/FaceNormals.cpp:158
↓ 3 callers
Function
are_equal
basic comparison of doubles
tutorials/TriangulatedFaceMaps/TriangulatedFaceMaps.cpp:161
↓ 3 callers
Function
calculate_signed_solid_angle
Compute the signed solid angle subtended by triangle abc from query point.
source/preproc.cpp:1327
↓ 3 callers
Function
clear_bit
source/frontend.cpp:211
↓ 3 callers
Function
collinear
source/math.cpp:788
↓ 3 callers
Function
compute_polygon_plane_coefficients
source/math.cpp:120
↓ 3 callers
Function
compute_segment_intersection
source/math.cpp:828
↓ 3 callers
Function
compwise_max
include/mcut/internal/math.h:418
↓ 3 callers
Function
compwise_min
include/mcut/internal/math.h:412
↓ 3 callers
Function
createCubeSMAndtwoTriCM
tests/source/getDataMaps.cpp:87
↓ 3 callers
Function
determine_three_noncollinear_vertices
source/math.cpp:198
↓ 3 callers
Method
enlarge
include/mcut/internal/math.h:645
↓ 3 callers
Function
expandBits
Expands a 10-bit integer into 30 bits by inserting 2 zeros after each bit.
source/bvh.cpp:193
↓ 3 callers
Method
get_general_position_enforcement_constant
returns (user controllable) epsilon representing the maximum by which the cut-mesh can be perturbed on any axis
include/mcut/internal/frontend.h:637
↓ 3 callers
Function
get_level_from_implicit_idx
compute tree-level index from implicit index of a node
source/bvh.cpp:111
↓ 3 callers
Method
get_mesh_ptr
include/mcut/internal/hmesh.h:478
↓ 3 callers
Method
get_most_recent_dispatch_intersection_type
include/mcut/internal/frontend.h:669
↓ 3 callers
Method
get_vertices_around_vertex
source/hmesh.cpp:732
↓ 3 callers
Method
is_removed
source/hmesh.cpp:1153
↓ 3 callers
Function
is_virtual_face
source/kernel.cpp:1137
↓ 3 callers
Function
mcBindState
source/mcut.cpp:242
↓ 3 callers
Function
mcEnqueueGetConnectedComponents
source/mcut.cpp:673
↓ 3 callers
Method
next
source/hmesh.cpp:185
↓ 3 callers
Function
parallel_partial_sum
include/mcut/internal/tpool.h:551
↓ 3 callers
Function
set_bit
https://stackoverflow.com/questions/47981/how-do-you-set-clear-and-toggle-a-single-bit
source/frontend.cpp:205
↓ 3 callers
Function
trailing_zeroes
find the number of trailing zeros in v http://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightLinear
source/frontend.cpp:178
↓ 3 callers
Function
triangulate_face
source/frontend.cpp:1002
↓ 2 callers
Function
CreateInputsRequiringFacePartitioning
tests/source/getDataMaps.cpp:139
↓ 2 callers
Method
GetNodeCount
source/bvh.cpp:1003
↓ 2 callers
Method
add_point
Add point to KD-tree
include/mcut/internal/cdt/kdtree.h:400
↓ 2 callers
Function
calculate_projection_matrix
given a normal vector (not necessarily normalized) and its largest component, calculate a matrix P that will project any 3D vertex to 2D by removing t
source/math.cpp:568
↓ 2 callers
Function
check_and_store_input_mesh_intersection_type
If either mesh is not watertight, then we return [no intersection]! NOTE: even if the meshes appear closed (in the geometric sense) as long as either
source/preproc.cpp:1628
↓ 2 callers
Function
check_is_in_circumcircle
include/mcut/internal/cdt/utils.h:401
↓ 2 callers
Function
check_on_edge
Check if location is classified as on any of three edges
include/mcut/internal/cdt/utils.h:235
↓ 2 callers
Function
check_vertices_share_edge
Test if two vertices share at least one common triangle
include/mcut/internal/cdt/utils.h:416
↓ 2 callers
Function
client_input_arrays_to_hmesh
this function converts an index array mesh (e.g. as recieved by the dispatch function) into a halfedge mesh representation for the kernel backend.
source/preproc.cpp:56
↓ 2 callers
Function
compare
basic comparison of doubles
tutorials/TextureCoordinates/TextureCoordinates.cpp:62
↓ 2 callers
Function
computeWindingNumberOnFace
source/preproc.cpp:1479
↓ 2 callers
Function
compute_segment_plane_intersection
Intersect a line segment with a plane Return values: 'p': The segment lies wholly within the plane. 'q': The(first) q endpoint is on the plane (but n
source/math.cpp:158
↓ 2 callers
Function
compute_segment_plane_intersection_type
source/math.cpp:253
↓ 2 callers
Function
coplaner
source/math.cpp:769
↓ 2 callers
Function
create_context_impl
source/frontend.cpp:69
↓ 2 callers
Method
disrupt_wait_for_data
include/mcut/internal/tpool.h:180
↓ 2 callers
Function
edge_neighbour
Neighbor index from a on-edge location \note Call only if located on the edge!
include/mcut/internal/cdt/utils.h:242
↓ 2 callers
Function
getFaceIndicesBaseOffset
tutorials/AdjacentFaces/AdjacentFaces.cpp:588
↓ 2 callers
Method
get_general_position_enforcement_attempts
returns (user controllable) maximum number of times by which the cut-mesh can be perturbed before giving (input likely need to be preprocessed)
include/mcut/internal/frontend.h:649
↓ 2 callers
Function
get_intersection_point_coords
include/mcut/internal/cdt/triangulate.h:1315
↓ 2 callers
Function
get_opposed_vertex_index
Given two triangles, return vertex of first triangle opposed to the second
include/mcut/internal/cdt/utils.h:393
↓ 2 callers
Function
get_ostensibly_implicit_bvh_size
compute size of of Oi-BVH give number of triangles
source/bvh.cpp:128
↓ 2 callers
Method
get_reason_for_failure
include/mcut/internal/utils.h:162
↓ 2 callers
Function
get_vertex_index
If triangle has a given vertex return vertex-index, throw otherwise
include/mcut/internal/cdt/utils.h:377
↓ 2 callers
Function
have_same_coordinate
@brief: Given a list of sorted vertices which belong to a histogram bin, check that a particular component (x, y, or z) of their coordinates is no
source/kernel.cpp:1146
↓ 2 callers
Function
ilog2
compute log-base-2 of "x"
source/bvh.cpp:97
↓ 2 callers
Function
incircleadapt
(pa, pb, pc, pd, permanent)
source/shewchuk.c:2727
↓ 2 callers
Method
initialize
Initialize KD-tree with points
include/mcut/internal/cdt/kdtree.h:379
↓ 2 callers
Function
insphereadapt
(pa, pb, pc, pd, pe, permanent)
source/shewchuk.c:4013
↓ 2 callers
Function
insphereexact
(pa, pb, pc, pd, pe)
source/shewchuk.c:3422
↓ 2 callers
Method
isLeaf
Check if node is a leaf (has no valid children)
include/mcut/internal/cdt/kdtree.h:65
↓ 2 callers
Function
linear_projection_sort
TODO: thsi can be improved by comparing based on the largest component of the difference vector sort points along a straight line
source/kernel.cpp:1498
↓ 2 callers
Function
locate_point_wrt_triangle
include/mcut/internal/cdt/utils.h:282
↓ 2 callers
Method
log_end_time
logs time and sets m_command_exec_status to MC_COMPLETE
include/mcut/internal/frontend.h:432
↓ 2 callers
Method
log_start_time
include/mcut/internal/frontend.h:423
↓ 2 callers
Method
log_submit_time
include/mcut/internal/frontend.h:413
↓ 2 callers
Function
mark_seam_vertices
a seam vertex is simply an intersection point, including a duplicated instance if it exists as determined by the parameters "ps_num_vertices" and "m1_
source/kernel.cpp:378
↓ 2 callers
Function
mcSetEventCallback
source/mcut.cpp:411
↓ 2 callers
Function
mcSetUserEventStatus
source/mcut.cpp:315
↓ 2 callers
Function
morton3D
Calculates a 30-bit Morton code for the given 3D point located within the unit cube [0,1].
source/bvh.cpp:203
↓ 2 callers
Function
next_power_of_two
next power of two from x
source/bvh.cpp:78
↓ 2 callers
Method
notify_one
include/mcut/internal/tpool.h:191
↓ 2 callers
Method
notify_task_complete
update the status of the event object to "finished"
include/mcut/internal/frontend.h:458
↓ 2 callers
Function
opposite_triangle_index
Index of triangle's neighbor opposed to a vertex
include/mcut/internal/cdt/utils.h:333
↓ 2 callers
Function
orient2D
include/mcut/internal/cdt/utils.h:251
← previous
next →
101–200 of 643, ranked by callers