All Frameworks Class Hierarchy This Framework Indexes
DS_TAGS DM_set_pt_xyz( | int& | rtn_err, | |
DS_dmod* | dmod, | ||
int | tag, | ||
int | pt_index, | ||
double* | p0, | ||
double* | p1, | ||
int | dir_flag, | ||
int | cascade_flag | =1, | |
int | curvature_sign | =0, | |
SDM_options* | sdmo | =NULL) |
dir_flag == 1 | Sets the point closest to the pick ray on a base point centered hemisphere (for rotation). |
dir_flag == 2 | Sets the point closest to the pick ray on the base point, end point line (base_pt, end_pt) line (for scaling). |
dir_flag == 1 | Sets the point at the intersection of the pick ray and the image point's xy plane (move in xy plane). |
dir_flag == 2 | Sets the point closest to the pick ray on the image point's z_vec line (move in z direction). |
curv_pt = k * n and curv_pt = -k *-nThe first solution, k positive, will have a surface concave in the direction of the surface normal n. The second solution, k negative, will have a surface convex in the direction of the surface normal n. For curves, k is always positive. When setting the curv_pt location directly (dir_flag = 0) one must tell the library which case to use. Otherwise, it chooses to preserve the sign of the curvature when rotating the curvature vec (dir_flag = 1), and chooses to preserve the direction of the surface norm_val when lengthening the vector (dir_flag = 2).
Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.