Class MeshMeshCut
TODO:
- track descendant triangles of each input face
- for missing segments, can resolve in 2D in plane of face
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Fields
CutMesh
Declaration
Field Value
CutVertices
Declaration
public List<int> CutVertices
Field Value
Target
Declaration
Field Value
VertexSnapTol
Declaration
public double VertexSnapTol
Field Value
Methods
AppendSegments(Double)
Declaration
public void AppendSegments(double r)
Parameters
Type |
Name |
Description |
Double |
r |
|
ColorFaces()
Declaration
Compute()
Declaration
find_existing_vertex(Vector3d)
find existing vertex at point, if it exists
Declaration
protected int find_existing_vertex(Vector3d pt)
Parameters
Returns
find_nearest_vertex(Vector3d, Double, Int32)
find closest vertex, within searchRadius
Declaration
protected int find_nearest_vertex(Vector3d pt, double searchRadius, int ignore_vid = -1)
Parameters
Returns
is_in_triangle(Int32, Vector3d)
Declaration
protected bool is_in_triangle(int tid, Vector3d v)
Parameters
Returns
is_on_edge(Int32, Vector3d)
Declaration
protected bool is_on_edge(int eid, Vector3d v)
Parameters
Returns
on_edge(ref Triangle3d, ref Vector3d)
Declaration
protected int on_edge(ref Triangle3d tri, ref Vector3d v)
Parameters
Returns
on_edge_eid(Int32, Vector3d)
Declaration
protected int on_edge_eid(int tid, Vector3d v)
Parameters
Returns
RemoveContained()
Declaration
public void RemoveContained()