Line Class |
public class Line
The Line type exposes the following members.
Name | Description | |
---|---|---|
![]() | Line(Line) | 根据已有的直线对象创建一个新的直线。 |
![]() | Line(Point, Point) | 根据两个点创建一条线。 |
![]() | Line(Point, Vector) | 根据两个点创建一条线。 |
Name | Description | |
---|---|---|
![]() | Distance | 计算给定点与直线上距离。 |
![]() | Equals |
比较当前直线与另一个对象是否相等。
(Overrides ObjectEquals(Object)) |
![]() | GetHashCode |
获取当前直线的哈希代码。
(Overrides ObjectGetHashCode) |
![]() | Intersect(Line, Point, Point, Double) | 计算当前直线与另一条直线的最短交线。 |
![]() | Intersect(Line, Double, Double, Double) | 计算当前直线与另一条直线的最短交线。 |
![]() | Project | 计算给定点在直线上的投影点。 |
![]() | Sample | 根据给定的参数t,在直线上采样点。 |
![]() | ToString | (Overrides ObjectToString) |
Name | Description | |
---|---|---|
![]() ![]() | Equality(Line, Line) | |
![]() ![]() | Inequality(Line, Line) |