Lines 8-14
spherical triangular patches of the molecular surface.
Link Here
|
8 |
|
8 |
|
9 |
#include "surf.h" |
9 |
#include "surf.h" |
10 |
|
10 |
|
|
|
11 |
void gen_spherical_recurse(VertexType **points, double *sq_side_len, float *center, double radius, int convex); |
11 |
|
12 |
|
|
|
13 |
void gen_cuspy_concave_tri(VertexType point0, VertexType point1, VertexType point2, int flip, POINT center, double radius, Vector *plane_eq); |
14 |
|
15 |
void gen_cuspy_spherical_recurse(VertexType **points, double *sq_side_len, float *center, Vector *plane_eq, double radius); |
12 |
/*-------------------------------------------------------------------------------- |
16 |
/*-------------------------------------------------------------------------------- |
13 |
gen_concave generates a concave spherical triangular patch of the molecular surface. |
17 |
gen_concave generates a concave spherical triangular patch of the molecular surface. |
14 |
At present it can only handle simple cusps -- those which are due to two concave |
18 |
At present it can only handle simple cusps -- those which are due to two concave |
Lines 105-111
double radius;
Link Here
|
105 |
gen_cuspy_concave_tri generates a concave spherical triangular patch which might |
109 |
gen_cuspy_concave_tri generates a concave spherical triangular patch which might |
106 |
have a cusp. |
110 |
have a cusp. |
107 |
----------------------------------------------------------------------------------*/ |
111 |
----------------------------------------------------------------------------------*/ |
108 |
gen_cuspy_concave_tri(point0, point1, point2, flip, center, radius, plane_eq) |
112 |
void gen_cuspy_concave_tri(point0, point1, point2, flip, center, radius, plane_eq) |
109 |
VertexType point0, point1, point2; |
113 |
VertexType point0, point1, point2; |
110 |
int flip; |
114 |
int flip; |
111 |
POINT center; |
115 |
POINT center; |
Lines 161-167
gen_cuspy_spherical_recurse generates a spherical triangular patch which might h
Link Here
|
161 |
cusp. This recursively subdivides the patch while clipping it with its intersection |
165 |
cusp. This recursively subdivides the patch while clipping it with its intersection |
162 |
with plane represented by plane_eq. |
166 |
with plane represented by plane_eq. |
163 |
----------------------------------------------------------------------------------*/ |
167 |
----------------------------------------------------------------------------------*/ |
164 |
gen_cuspy_spherical_recurse(points, sq_side_len, center, plane_eq, radius) |
168 |
void gen_cuspy_spherical_recurse(points, sq_side_len, center, plane_eq, radius) |
165 |
VertexType *points[3]; |
169 |
VertexType *points[3]; |
166 |
double sq_side_len[3]; |
170 |
double sq_side_len[3]; |
167 |
float center[3]; |
171 |
float center[3]; |
Lines 285-291
int convex;
Link Here
|
285 |
gen_spherical_recurse generates a spherical triangular patch by recursively |
289 |
gen_spherical_recurse generates a spherical triangular patch by recursively |
286 |
subdividing till all its edge lengths are below a user specified threshold. |
290 |
subdividing till all its edge lengths are below a user specified threshold. |
287 |
----------------------------------------------------------------------------------*/ |
291 |
----------------------------------------------------------------------------------*/ |
288 |
gen_spherical_recurse(points, sq_side_len, center, radius, convex) |
292 |
void gen_spherical_recurse(points, sq_side_len, center, radius, convex) |
289 |
VertexType *points[3]; |
293 |
VertexType *points[3]; |
290 |
float center[3]; |
294 |
float center[3]; |
291 |
double radius; |
295 |
double radius; |