Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/delaunay_2d.cc
| Show First 20 Lines • Show All 328 Lines • ▼ Show 20 Lines | public: | ||||
| * Edge ids for face start with this, and each face gets this much index space | * Edge ids for face start with this, and each face gets this much index space | ||||
| * to encode positions within the face. | * to encode positions within the face. | ||||
| */ | */ | ||||
| int face_edge_offset; | int face_edge_offset; | ||||
| /** How close before coords considered equal. */ | /** How close before coords considered equal. */ | ||||
| T epsilon; | T epsilon; | ||||
| explicit CDT_state(int num_input_verts, int num_input_edges, int num_input_faces, T epsilon); | explicit CDT_state(int num_input_verts, int num_input_edges, int num_input_faces, T epsilon); | ||||
| ~CDT_state() | |||||
| { | |||||
| } | |||||
| }; | }; | ||||
| template<typename T> CDTArrangement<T>::~CDTArrangement() | template<typename T> CDTArrangement<T>::~CDTArrangement() | ||||
| { | { | ||||
| for (int i : this->verts.index_range()) { | for (int i : this->verts.index_range()) { | ||||
| CDTVert<T> *v = this->verts[i]; | CDTVert<T> *v = this->verts[i]; | ||||
| BLI_linklist_free(v->input_ids, nullptr); | BLI_linklist_free(v->input_ids, nullptr); | ||||
| delete v; | delete v; | ||||
| ▲ Show 20 Lines • Show All 2,385 Lines • Show Last 20 Lines | |||||