C# Class FruityFalls.Geometry.Segment

Datei anzeigen Open project: xamarin/mobile-samples Class Usage Examples

Public Properties

Property Type Description
Point1 CCPoint
Point2 CCPoint

Public Methods

Method Description
DistanceTo ( CCPoint &vector, Segment &connectingSegment ) : float
GetLength ( ) : double
Segment ( ) : System

Method Details

DistanceTo() public method

public DistanceTo ( CCPoint &vector, Segment &connectingSegment ) : float
vector CCPoint
connectingSegment Segment
return float

GetLength() public method

public GetLength ( ) : double
return double

Segment() public method

public Segment ( ) : System
return System

Property Details

Point1 public_oe property

public CCPoint Point1
return CCPoint

Point2 public_oe property

public CCPoint Point2
return CCPoint