api_get_ellipse_parameters
List of: Functions
Subjects: Construction Geometry, Model Geometry
Contents: Kernel

Action: Gets the arguments for a circle or an ellipse.

Prototype: outcome api_get_ellipse_parameters (


EDGE* ell, // ellipse or circle


SPAposition& center, // center returned


SPAunit_vector& normal, // normal to plane of




// ellipse returned


SPAvector& major_axis, // major axis returned




// (length equals major




// radius)


double& radius_ratio, // ratio of major radius




// to minor radius




// returned


double& start_angle, // start angle in radians




// returned


double& end_angle, // end angle in radians




// returned


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

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

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

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

#include "baseutil/vector/position.hxx"

#include "baseutil/vector/unitvec.hxx"

#include "baseutil/vector/vector.hxx"

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

Errors: The curve is not an elliptical curve.

Library: kernel

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

Effect: Read-only
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0052.HTM