Toggle navigation
Hot Examples
RU
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
Показать файл
Открыть проект
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