CagdSweepSrf

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

NAME

CagdSweepSrf()  

SYNOPSIS

cagd_lib/cagdswep.c:70

CagdSrfStruct *CagdSweepSrf(CagdCrvStruct *CrossSection,
                            CagdCrvStruct *Axis,
                            CagdCrvStruct *ScalingCrv,
                            CagdRType Scale,
                            VoidPtr Frame,
                            CagdBType FrameIsCrv)
 

DESCRIPTION

Constructs a sweep surface using the following curves:
 1. CrossSection - defines the basic cross section of the sweep. Must be in the XY plane.
 2. Axis - a 3D curve the CrossSection will be swept along such that the Axis normal aligns with the Y axis of the cross section. If Axis is linear (i.e. no normal), the normal is picked randomly or to fit the non linear part of the Axis (if any).
 3. Scale - a scaling curve for the sweep, If NULL a scale of Scale is used.
 4. Frame - a curve or a vector that specifies the orientation of the sweep by specifying the axes curve's binormal. If Frame is a vector, it is a constant binormal. If Frame is a curve (FrameIsCrv = TRUE), it is assumed to be a vector field binormal. If NULL, it is computed from the Axis curve's pseudo Frenet frame, that minimizes rotation.

This operation is only an approximation. See CagdSweepAxisRefine for a tool to refine the Axis curve and improve accuracy.  

PARAMETERS:

CrossSection: Of the constructed sweep surface.

Axis: Of the constructed sweep surface.

ScalingCrv: Optional scale or profiel curve.

Scale: if no Scaling Crv, Scale is used to apply a fixed scale on the CrossSection curve.

Frame: An optional vector or a curve to specified the binormal orientation. Otherwise Frame must be NULL.

FrameIsCrv: If TRUE Frame is a curve, if FALSE a vector (if Frame is not NULL).  

FUNCTION RETURN VALUE

CagdSrfStruct *: Constructed sweep surface.

 

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