edge:end-pt-cvty-info
List of: Scheme Extensions
Subjects: Model Topology
Contents: Intersectors

Action: Computes convexity information at end point of edge.

Filename: intr/intr_scm/cvty_scm.cxx

Syntax: (edge:end-pt-cvty-info edge [use-curvatures=#t])

Arg Types: edge edge

use-curvatures boolean

Returns: scm_pt_cvty_info

Description: Compute convexity information at end point along an edge. This consists of an angle (the [sine of the] angle between surface normals there, +ve meaning convex), and the convexity of the edge here if viewed with an angle tolerance sufficiently large that we would regard this point as tangent. Note that for tolerant edges, the "common range" of the edge is used, which may differ slightly. This is the range over which the nominal edge curve and the coedge 3D curves appear to overlap "sensibly".

Example: ; edge:end-pt-cvty-info

; Create a block.

(define block1 (solid:block (position 0 10 0)


(position 10 20 20)))

;; block1

; Define the edges of block1

(define edge-list (entity:edges block1))

;; edge-list

(edge:end-pt-cvty-info (list-ref edge-list 0))

;; #[pt_cvty_info: 1 [cvty: knf] (tol 1e-10)]
PDF/INTR/02SC.PDF
HTM/DATA/INTR/INTR/02SC/0017.HTM