DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Expand API ReferenceAPI Reference
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > DG Kernel Control > Programmatic Functionality > Core Types > Line2DDg Go to ActiveX docs Search Documentation


Line2DDg Class

A 2D line.

Properties

T2DDg Origin
T2DDg Direction

Methods

Line2DDg();
Line2DDg(Line2DDg line);
Line2DDg(double originX, double originY, double dirX, double dirY);
Line2DDg(double dirX, double dirY);
Line2DDg(T2DDg origin, T2DDg direction);
Line2DDg(T2DDg direction);
Line2DDg(ILine2d_DG iLine);
Line2DDg(bool random);
T2DDg GetPoint(double u);
bool Is(double originX, double originY, double dirX, double dirY);
bool Is(double originX, double originY, double dirX, double dirY, double tolerance);
bool IsValid();
bool IsValid(double tolerance);
void Copy(Line2DDg line);
void Copy(ILine2d_DG iLine);
ILine2d_DG Clone();
double ProjectPoint(ref T2DDg point)
double GetPointPosition(T2DDg point);
T2DDg GetVectorProjection(T2DDg v);
T2DDg GetPointProjection(T2DDg point);
bool DirectTowards(T2DDg point);
double GetAngle(Line2DDg line);
bool IsPointIncident(T2DDg point);
bool IsPointIncident(T2DDg point, double tolerance);
double Dist(T2DDg point);
double Dist(T2DDg point, out T2DDg pointThis);
double Dist(T2DDg point, out T2DDg pointThis, out double paramThis);
LineVsLine2dLocation_DG GetLineLocation(Line2DDg line);
LineVsLine2dLocation_DG GetLineLocation(Line2DDg line, double tolerance);
PointVs2dLineLocation_DG GetPointLocation(T2DDg point);
PointVs2dLineLocation_DG GetPointLocation(T2DDg point, double tolerance);
bool IsSameGeometric(Line2DDg line, double tolerance);
bool IsSame(Line2DDg line);
bool IsSame(Line2DDg line, double tolerance);
bool IsCollinear(Line2DDg line);
bool IsCollinear(Line2DDg line, double tolerance)
bool IsOrtho(Line2DDg line);
bool IsOrtho(Line2DDg line, double tolerance);
bool IsOrtho(T2DDg v);
bool IsOrtho(T2DDg v, double tolerance);
LineVsLine2dLocation_DG GetLineIntersection(Line2DDg line, out T2DDg pointIntersection);
LineVsLine2dLocation_DG GetLineIntersection(Line2DDg line, out T2DDg pointIntersection, double tolerance)
LineVsLine2dLocation_DG GetLineIntersection(Line2DDg line, out T2DDg pointIntersection, out double paramThis, out double paramOther)
LineVsLine2dLocation_DG GetLineIntersection(Line2DDg line, out T2DDg pointIntersection, out double paramThis, out double paramOther, double tolerance)
T2DDg GetNormal()
void Slide(double dist)
Translate(double dx, double dy)
void Translate(T2DDg offset)
void MakeRandom();