Class GeoGraph2D.InnerSegment
Inheritance
System.Object
GeoGraph2D.InnerSegment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public class InnerSegment
Constructors
InnerSegment(LineSegment2D, Int32, Int32, Boolean, Boolean, Single)
Declaration
public InnerSegment(LineSegment2D segment, int leftIndex, int rightIndex, bool isStartLeft, bool isEndLeft, float p)
Parameters
Type |
Name |
Description |
LineSegment2D |
segment |
|
System.Int32 |
leftIndex |
|
System.Int32 |
rightIndex |
|
System.Boolean |
isStartLeft |
|
System.Boolean |
isEndLeft |
|
System.Single |
p |
|
Properties
IsCrossed
Declaration
public bool IsCrossed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsEndLeft
Declaration
public bool IsEndLeft { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsStartLeft
Declaration
public bool IsStartLeft { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LeftIndex
Declaration
public int LeftIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
LeftNearestEndInfo
Declaration
public GeoGraph2D.NearestPointInfo LeftNearestEndInfo { get; set; }
Property Value
LeftNearestStartInfo
Declaration
public GeoGraph2D.NearestPointInfo LeftNearestStartInfo { get; set; }
Property Value
P
Declaration
public float P { get; set; }
Property Value
Type |
Description |
System.Single |
|
RightIndex
Declaration
public int RightIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
RightNearestEndInfo
Declaration
public GeoGraph2D.NearestPointInfo RightNearestEndInfo { get; set; }
Property Value
RightNearestStartInfo
Declaration
public GeoGraph2D.NearestPointInfo RightNearestStartInfo { get; set; }
Property Value
Segment
Declaration
public LineSegment2D Segment { get; set; }
Property Value
Methods
Compare(GeoGraph2D.InnerSegment, GeoGraph2D.InnerSegment)
Declaration
public static int Compare(GeoGraph2D.InnerSegment a, GeoGraph2D.InnerSegment b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
GetDistEval(Boolean)
Declaration
public float GetDistEval(bool isStart)
Parameters
Type |
Name |
Description |
System.Boolean |
isStart |
|
Returns
Type |
Description |
System.Single |
|
GetNearestInfo(Boolean)
Declaration
public GeoGraph2D.NearestPointInfo GetNearestInfo(bool isStart)
Parameters
Type |
Name |
Description |
System.Boolean |
isStart |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()