Line / Ray / XLine
Line segments, rays and construction lines (xlines).
20 functions.
CadAddLineCreates a new line and returns its handle.
CadAddRayRay (semi-infinite) / XLine (construction line) — a Line with the infinite flag; (dx,dy) is the direction offset from the base point.
CadLineGetPoint1Whole-point getters (Vecad CadLineGetPoint1/2 — out via pointers).
CadLineGetPoint2Returns the point2 of the line.
CadLineGetX1Returns the x1 of the line.
CadLineGetX2Returns the x2 of the line.
CadLineGetY1Returns the y1 of the line.
CadLineGetY2Returns the y2 of the line.
CadLineGetZ1Returns the z1 of the line.
CadLineGetZ2Returns the z2 of the line.
CadLineIsRayReturns whether the line is a ray (infinite in one direction).
CadLineIsXReturns whether the line is an xline (infinite in both directions).
CadLinePutPoint1Sets the point1 of the line.
CadLinePutPoint2Sets the point2 of the line.
CadLinePutX1Sets the x1 of the line.
CadLinePutX2Sets the x2 of the line.
CadLinePutY1Sets the y1 of the line.
CadLinePutY2Sets the y2 of the line.
CadLinePutZ1Sets the z1 of the line.
CadLinePutZ2Sets the z2 of the line.