curvature Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>


Data Fields

vect_t crv_pdir
 Principle direction.
fastf_t crv_c1
 curvature in principle dir
fastf_t crv_c2
 curvature in other direction


Detailed Description

C U R V A T U R E

Information about curvature of the surface at a hit point. The principal direction pdir has unit length and principal curvature c1. |c1| <= |c2|, i.e. c1 is the most nearly flat principle curvature. A POSITIVE curvature indicates that the surface bends TOWARD the (outward pointing) normal vector at that point. c1 and c2 are the inverse radii of curvature. The other principle direction is implied: pdir2 = normal x pdir1.

Definition at line 353 of file raytrace.h.


Field Documentation

vect_t crv_pdir
 

Principle direction.

Definition at line 354 of file raytrace.h.

Referenced by rt_tcl_pr_hit(), and rt_xxx_curve().

fastf_t crv_c1
 

curvature in principle dir

Definition at line 355 of file raytrace.h.

Referenced by rt_tcl_pr_hit(), and rt_xxx_curve().

fastf_t crv_c2
 

curvature in other direction

Definition at line 356 of file raytrace.h.

Referenced by rt_tcl_pr_hit(), and rt_xxx_curve().


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 01:25:11 2006 for BRL-CAD by  doxygen 1.4.6