Infinite Straight Line or Ray
Straight Line as a
    Mathematical Objects 
    can be used to perform calculations or to define geometry of a
    Line Section 
Straight Lines can be manipulated via ILine  interface. 
    Straight Lines also implement ILineMetr, ILineMetr2,, 
    ILineGeom,
    IMetrics2,
    ICurve  and
    IGraphicItem    interfaces 
To create a Straight Line or Ray use IStdShape.LineInf() 
    or: 
1. Call
Create or
Create2 method of
IDIObjectGenerator with 
parameter  eType set to eObjTypeLine   or 
eObjTypeRay member of
EObjectType   enumeration. 
2. Query ILine   
from IUnknown
returned by the Create(2) method 
To add a Straight Line to a model wrap the line into a Line Entity as 
    described in Wrapping 
    Mathematical Curves 
  
    See also:
    Curves Overview, Native Curves
         
                 |