HappyDoc Generated Documentation ./VolumePath/stitch.py

. / VolumePath / stitch.py 

Functions   
  distance2 
distance2 ( p1,  p2 )
  triangle_normal 
triangle_normal ( t,  varray )
  nonconvex_polygon_triangulation 
nonconvex_polygon_triangulation (
        curve,
        varray,
        reverse,
        )
  curve_length 
curve_length ( curve )

Number of points in closed or open curve.

  triangle_strip 
triangle_strip (
        curve1,
        curve2,
        varray,
        )
  all_open_or_closed 
all_open_or_closed ( clist )
  polygon_triangulation 
polygon_triangulation (
        curve,
        varray,
        reverse=None,
        )
  order_points_for_stitching 
order_points_for_stitching (
        curves,
        varray,
        axis,
        )

Adjust ordering of points in curves for stitching. For closed loops choose first point as one with maximum x value and choose order of points for counter-clockwise traversal. For open curves choose vectors between end points of successive curves to have positive inner product.

  order_chains 
order_chains ( curves,  varray )

Take a list of chains (given by indices) and put the chains in order for stitching a surface. Use average normal to determine axis.

Might issue warning if two chain are within 10*-4 (normal extent) along normal to catch common case of multiple chains in a single plane.

  stitch_curves 
stitch_curves (
        curves,
        varray,
        caps,
        )

Joins a set of one-dimensional paths to make a surface. The paths can be closed loops (last point same as first point) or have distinct end points. Each path is a sequence of xyz point positions.

  center_and_normal 
center_and_normal ( curve,  varray )
Classes   

This document was automatically generated Wed Jul 9 15:49:17 2008 by HappyDoc version 3.1