C# 클래스 FSO.Common.Model.IntersectRectTree

A k-d Tree for looking up rectangle intersections TODO: balancing? could make performance gains more stable at the cost of some of the worst case.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Root IntersectRectNode

공개 메소드들

메소드 설명
Add ( Rectangle rect ) : void
SearchForIntersect ( Rectangle rect ) : bool

메소드 상세

Add() 공개 메소드

public Add ( Rectangle rect ) : void
rect Microsoft.Xna.Framework.Rectangle
리턴 void

SearchForIntersect() 공개 메소드

public SearchForIntersect ( Rectangle rect ) : bool
rect Microsoft.Xna.Framework.Rectangle
리턴 bool

프로퍼티 상세

Root 공개적으로 프로퍼티

public IntersectRectNode,FSO.Common.Model Root
리턴 IntersectRectNode