GH_Line

References
public struct GH_Line
Represents a 3D line segment, denoted by start and endpoints.

Constructors

GH_Line

#
public GH_Line(double Ax, double Ay, double Az, double Bx, double By, double Bz)
Constructor.
Ax (double)X coordinate of start point.
Ay (double)Y coordinate of start point.
Az (double)Z coordinate of start point.
Bx (double)X coordinate of end point.
By (double)Y coordinate of end point.
Bz (double)Z coordinate of end point.

GH_Line

#
public GH_Line(GH_Point3D nA, GH_Point3D nB)
Constructor.
nA (GH_Point3D)Start of line.
nB (GH_Point3D)End of line.

Fields

A

#
public GH_Point3D A
Start of line.

B

#
public GH_Point3D B
End of line.

Methods

ToString

#
public override string ToString()
Converts this structure to a human-readable string.
A string representation of the line structure.