api_extract_coed_info
List of: Functions
Subjects: Object Relationships
Contents: Kernel

Action: Computes the given number of equidistant points in the parametric space of the underlying curve for the coedge.

Prototype: outcome api_extract_coed_info (


COEDGE* coedge, // coedge of face


logical forward, // forward direction of




// evaluation


logical outward, // tangents point off of




// face


int num_pts, // size of arrays/number




// of points where to




// evaluate


SPAposition* pts, // points along edge




// returned (user




// allocates arrays)


SPAunit_vector* tans // surface tangents along




// edge at positions




// returned


);

Includes: #include "kernel/acis.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kernapi/api/kernapi.hxx"

#include "kernel/kerndata/top/coedge.hxx"

#include "baseutil/logical.h"

#include "baseutil/vector/position.hxx"

#include "baseutil/vector/unitvec.hxx"

Description: This API returns surface tangents perpendicular to the curve. Sense flag forward controls the direction for ordering of points. Sense flag outward indicates whether the face tangent points away from or into the face. This function is useful for interpolating surfaces to join with the face.

Errors: Entity NULL or not a coedge.

Library: kernel

Filename: kern/kernel/kernapi/api/kernapi.hxx

Effect: Read-only

PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0041.HTM