Synopsis

PDX_MSGT dxcr_Ray(long option, MDA_PTR orig_ptr, double *base, double *vector, int dxf_model, MDA_PTR *dxf_ptr)

Purpose

Create a DXF Ray.

Description

A DXF Ray entity is created for the given data. The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

Input

option

Options (not used)

orig_ptr

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

base

Base point

vector

Direction vector

dxf_model

The DXF model for entity creation

Output

dxf_ptr

Entity pointer of the DXF Ray

Return

      DXCR_NOERR
      Low level error return
      .fi