|
InfiniteLine2 Constructor (Double, Double)
|
Initializes a new instance of the
InfiniteLine2 class.
Create a straight line from its slope and intercept
with respect to a cartesian coordinates system.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic InfiniteLine2(
double slope,
double intercept
)
Public Sub New (
slope As Double,
intercept As Double
)
public:
InfiniteLine2(
double slope,
double intercept
)
new :
slope : float *
intercept : float -> InfiniteLine2
Parameters
- slope
- Type: SystemDouble
Inclination of the line. - intercept
- Type: SystemDouble
y-coordinate where the line crosses the x-axis.
See Also