C# Class MiningGameServer.Shapes.ShapeLineSegment

Inheritance: Shape
Afficher le fichier Open project: geel9/Minor-Destruction Class Usage Examples

Méthodes publiques

Свойство Type Description
B double
End Vector2
Slope double
Start Vector2

Méthodes publiques

Méthode Description
CollideAABB ( ShapeAABB collidingWith ) : AABBCollisionResult
CollideLineSegment ( ShapeLineSegment other ) : SegmentCollisionResult
CollideRay ( ShapeRay collidingWith ) : RayCollisionResult
PointLiesOnSegment ( Vector2 point ) : bool
ShapeLineSegment ( Vector2 start, Vector2 end ) : System
ToLine ( ) : ShapeLine

Method Details

CollideAABB() public méthode

public CollideAABB ( ShapeAABB collidingWith ) : AABBCollisionResult
collidingWith ShapeAABB
Résultat AABBCollisionResult

CollideLineSegment() public méthode

public CollideLineSegment ( ShapeLineSegment other ) : SegmentCollisionResult
other ShapeLineSegment
Résultat SegmentCollisionResult

CollideRay() public méthode

public CollideRay ( ShapeRay collidingWith ) : RayCollisionResult
collidingWith ShapeRay
Résultat RayCollisionResult

PointLiesOnSegment() public méthode

public PointLiesOnSegment ( Vector2 point ) : bool
point Vector2
Résultat bool

ShapeLineSegment() public méthode

public ShapeLineSegment ( Vector2 start, Vector2 end ) : System
start Vector2
end Vector2
Résultat System

ToLine() public méthode

public ToLine ( ) : ShapeLine
Résultat ShapeLine

Property Details

B public_oe property

public double B
Résultat double

End public_oe property

public Vector2 End
Résultat Vector2

Slope public_oe property

public double Slope
Résultat double

Start public_oe property

public Vector2 Start
Résultat Vector2