Click or drag to resize
AB4D logo

MathUtilsGetArc3DPoints Method

GetArc3DPoints returns 3D positions that define a 3D arc (segment of an ellipse that is defined by start and end angle).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public static Point3DCollection GetArc3DPoints(
	Point3D ellipseCenterPosition,
	Vector3D ellipseNormal,
	Vector3D zeroAngleDirection,
	double xRadius,
	double yRadius,
	double startAngle,
	double endAngle,
	int segments
)

Parameters

ellipseCenterPosition  Point3D
ellipse center position
ellipseNormal  Vector3D
normal vector of the ellipse (Vector3D that is perpendicular to the ellipse)
zeroAngleDirection  Vector3D
Vector3D that defines the direction where the zero angle is
xRadius  Double
x radius
yRadius  Double
y radius
startAngle  Double
start angle in degrees
endAngle  Double
end angle in degrees
segments  Int32
number of segments

Return Value

Point3DCollection
Point3DCollection with the arc points
See Also