Action:
|
Creates a conic curve given three distinct parametric positions and a
rho value.
|
|
Prototype:
|
bs2_curve bs2_curve_make_rho_conic (
|
|
|
SPApar_pos const& start,
|
// start point
|
|
|
SPApar_pos const& tan_int,// tangent intersection
|
|
|
|
|
// point
|
|
|
SPApar_pos const& end,
|
// end point
|
|
|
double rho
|
// rho value
|
|
|
|
= 0.5,
|
|
|
double = 0,
|
// requested fit
|
|
|
|
|
// tolerance
|
|
|
double& actual_fit
|
// returned actual
|
|
|
|
=*(double*)NULL_REF
|
// fit used
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/param.hxx"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs2_crv/sp2crtn.hxx"
|
|
Description:
|
Given are the start and end points of the segment to be represented, the intersection point of the tangents at the start and end, and the
rho value. This last determines the position of the mid-parameter point along the line joining the midpoint of the chord and the intersection of the tangents, and is simply the ratio of its distance from the chord midpoint to the total distance. A value of 0.5 gives a parabola, more gives a hyperbola, less an ellipse. The ends are assumed to be distinct.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
Changes model
|