Synopsis

PDX_MSGT gcr_Conic(long option, MDA_PTR orig_db_ptr, double *coeffs, GDX_MATRIX gdx_matrix, MTH_2DPNT start_pnt, MTH_2DPNT end_pnt, double z_depth, int gdx_model, MDA_PTR *gdx_conic_ptr)

Purpose

Create GDX Conic based on the standard implicit conic formula.

Description

Creates the GDX Conic (parabola/ellipse/hyperbola) from the standard implicit conic formula: A*x^2 + B*x*y + C*y^2 + D*X +E*Y + F = 0

Input

option

GCR_NOVALIDATE

No validation will occur on the input data.

orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

coeffs

Coeffecients (A,B,C,D,E,F) of implicit formula

gdx_matrix

GDX rotation matrix, or NULL.

start_pnt

Starting point of the conic

end_pnt

Ending point of the conic

z_depth

Z plane displacement of the conic

gdx_model

The GDX entity model for creation

Output

gdx_conic_ptr

The database pointer of the resulting GDX Conic

Return

      .fi