Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/geometry/normal_cycle.h
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
| * of a set of dihedral angles and associated vectors. | * of a set of dihedral angles and associated vectors. | ||||
| * Reference: | * Reference: | ||||
| * Restricted Delaunay Triangulation and Normal Cycle, | * Restricted Delaunay Triangulation and Normal Cycle, | ||||
| * D. Cohen-Steiner and J.M. Morvan, | * D. Cohen-Steiner and J.M. Morvan, | ||||
| * SOCG 2003 | * SOCG 2003 | ||||
| */ | */ | ||||
| class NormalCycle { | class NormalCycle { | ||||
| public: | public: | ||||
| NormalCycle(); | |||||
| void begin(); | void begin(); | ||||
| void end(); | void end(); | ||||
| /** | /** | ||||
| * Note: the specified edge vector needs to be pre-clipped by the neighborhood. | * Note: the specified edge vector needs to be pre-clipped by the neighborhood. | ||||
| */ | */ | ||||
| void accumulate_dihedral_angle(const Vec3r &edge, real angle, real neigh_area = 1.0); | void accumulate_dihedral_angle(const Vec3r &edge, real angle, real neigh_area = 1.0); | ||||
| const Vec3r &eigen_vector(int i) const | const Vec3r &eigen_vector(int i) const | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||