SymbSrf2OptimalPolygons

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

NAME

SymbSrf2OptimalPolygons()  

SYNOPSIS

symb_lib/symbsply.c:402

CagdPolygonStruct *SymbSrf2OptimalPolygons(CagdSrfStruct *Srf,
                                CagdRType Tolerance,
                                SymbPlSubdivStrategyType SubdivDirStrategy,
                                SymbPlErrorFuncType SrfPolyApproxErr,
                                CagdBType ComputeNormals,
                                CagdBType FourPerFlat,
                                CagdBType ComputeUV)
 

DESCRIPTION

Routine to convert a single surface to a set of triangles approximating it. FineNess is controlled via a function that returns an error measure SrfPolyApproxError that is guaranteed to be less than Tolerance.  

PARAMETERS:

Srf: To convert and approximate using triangles.

Tolerance: Accuracy control.

SubdivDirStrategy: Alternatively in U and V, direction that minimizes the error, etc.

SrfPolyApproxErr: Using bilinear curvature estimate, k1^2 + k2^2 estimate, etc.

ComputeNormals: Do we want normals to be computed as well?

FourPerFlat: If TRUE, four triangle per flat surface patch are created, otherwise only two.

ComputeUV: Do we want UV parameter values with the vertices of the triangles?  

FUNCTION RETURN VALUE

CagdPolygonStruct *: Resulting polygons that approximates Srf.

 

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:21 GMT, July 20, 2024