C# Class SharpFE.Geometry.BoundedLine

A line which is bounded by a start and end point
Inheritance: UnboundedLine
显示文件 Open project: iainsproat/SharpFE Class Usage Examples

Public Methods

Method Description
BoundedLine ( CartesianPoint startOfLine, CartesianPoint endOfLine ) : System
BoundedLine ( CartesianPoint startOfLine, GeometricVector vectorOfLineFromStartToEnd ) : System
IsOnLine ( CartesianPoint pointToCheck ) : bool

Method Details

BoundedLine() public method

public BoundedLine ( CartesianPoint startOfLine, CartesianPoint endOfLine ) : System
startOfLine CartesianPoint
endOfLine CartesianPoint
return System

BoundedLine() public method

public BoundedLine ( CartesianPoint startOfLine, GeometricVector vectorOfLineFromStartToEnd ) : System
startOfLine CartesianPoint
vectorOfLineFromStartToEnd GeometricVector
return System

IsOnLine() public method

public IsOnLine ( CartesianPoint pointToCheck ) : bool
pointToCheck CartesianPoint
return bool