Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Box2DX
Collision
PolygonShape
Centroid
Box2DX.Collision.PolygonShape.Centroid C# (CSharp) 메소드
PolygonShape 1 문서
파일 보기
프로젝트 열기: danielpcox/Crisis-at-Swiss-Station
Centroid()
공개
메소드
Get the centroid and apply the supplied transform.
public
Centroid
(
XForm
xf
) :
Vec2
xf
Box2DX.Common.XForm
리턴
Box2DX.Common.Vec2
public Vec2 Centroid(XForm xf) { return Common.Math.Mul(xf, _centroid); }
PolygonShape
Centroid
ComputeAABB
ComputeCentroid
ComputeMass
ComputeOBB
ComputeSubmergedArea
ComputeSweptAABB
GetCentroid
GetCoreVertices
GetFirstVertex
GetOBB
GetVertices
PolygonShape
Support
TestPoint
TestSegment
UpdateSweepRadius