본문으로 건너뛰기

RotateAround

Overloads

NameDescription
RotateAround(List<Node> node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase)지정된 개체를 기준점에서 축 기반 회전

RotateAround(List<Node> node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase)

public void RotateAround(List&lt;Node&gt; node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase)

지정된 개체를 기준점에서 축 기반 회전

Parameters

NameTypeDescription
nodeList<Node>노드
pivotVector3D기준점
axisVector3D축 기반
anglefloat회전 각도
formatAngleFormat각도 형식
zeroBasebool모델 초기 상태에서 회전 : True - 초기 상태에서 회전, False - 현재 상태에서 회전

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
List<VIZCore3D.NET.Data.Node> node =
vizcore3d.Object3D.FromFilter(Data.Object3dFilter.SELECTED_TOP);

vizcore3d.Object3D.Transform.RotateAround(
node
new Data.Vector3D(100, 0, 0),
new Data.Vector3D(0, 0, 1),
180,
Data.AngleFormat.DEGREE,
true);
);
}