TrimSrf2Polylines

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

TrimSrf2Polylines()  

SYNOPSIS

trim_lib/iso_crvs.c:76

CagdPolylineStruct *TrimSrf2Polylines(TrimSrfStruct *TrimSrf,
                                      int NumOfIsocurves[2],
                                      int SamplesPerCurve,
                                      int Optimal)
 

DESCRIPTION

Routine to convert a single trimmed surface to NumOfIsolines polylines in each parametric direction with SamplesPerCurve in each isoparametric curve. Polyline are always E3 of CagdPolylineStruct type. Iso parametric curves are sampled equally spaced in parametric space. NULL is returned in case of an error, otherwise list of CagdPolylineStruct. Attempt is made to extract isolines along C1 discontinuities first.  

PARAMETERS:

TrimSrf: To extract isoparametric curves from.

NumOfIsocurves: In each (U or V) direction.

SamplesPerCurve: Fineness control on piecewise linear curve approximation.

Optimal: Use optimal approximation of isocurves.  

FUNCTION RETURN VALUE

CagdPolylineStruct *: List of polylines representing a piecewise linear approximation of the extracted isoparamteric curves or NULL is case of an error.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:35 GMT, July 20, 2024