api_modify_ellipse
List of: Functions
Subjects: Construction Geometry, Model Geometry
Contents: Constructors

Action: Modifies an argument of an ellipse.

Prototype: outcome api_modify_ellipse (


EDGE* ell,
// elliptical edge to





// modify


const SPAposition& center, // new center


const SPAunit_vector& normal, // new normal


const SPAvector& major_axis, // new major axis


double radius_ratio,
// radius ratio


double start_angle,
// new start angle in





// radians


double end_angle,
// new end angle in





// radians


AcisOptions* ao = NULL
// acis options


);

Includes: #include "kernel/acis.hxx"

#include "constrct/kernapi/api/cstrapi.hxx"

#include "kernel/kernapi/api/api.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"

Description: Use this API with api_get_ellipse_parameters to modify only selected parameters of the ellipse.

Errors: The entity is not an ellipse.

The entity is not top level.

Library: constrct

Filename: cstr/constrct/kernapi/api/cstrapi.hxx

Effect: Changes model
PDF/CSTR/04FN.PDF
HTM/DATA/CSTR/CSTR/04FN/0080.HTM