GetCenterOfVolume
Overloads
| Name | Description |
|---|---|
| GetCenterOfVolume() | 선택된 개체의 부피 중심을 반환 (mm) |
| GetCenterOfVolume(List<Node> nodes) | 지정된 개체들의 부피 중심을 반환 (mm) |
GetCenterOfVolume()
public Vector3D GetCenterOfVolume()
선택된 개체의 부피 중심을 반환 (mm)
Returns
| Type | Description |
|---|---|
| Vector3D | 부피 중심 (mm) |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
Data.Vector3D center = vizcore3dx.Object3D.GeometryProperty.GetCenterOfVolume();
}
GetCenterOfVolume(List<Node> nodes)
public Vector3D GetCenterOfVolume(List<Node> nodes)
지정된 개체들의 부피 중심을 반환 (mm)
Parameters
| Name | Type | Description |
|---|---|---|
| nodes | List<Node> | 개체 List |
Returns
| Type | Description |
|---|---|
| Vector3D | 부피 중심 (mm) |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
List<Node> nodes = vizcore3dx.Object3D.FromFilter(Object3dFilter.SELECTED_TOP);
Data.Vector3D center = vizcore3dx.Object3D.GeometryProperty.GetCenterOfVolume(nodes);
}