Click or drag to resize
AB4D logo

MathUtilsAddArc3DPoints Method

AddArc3DPoints adds the 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 void AddArc3DPoints(
	Point3D ellipseCenterPosition,
	Vector3D ellipseNormal,
	Vector3D zeroAngleDirection,
	double xRadius,
	double yRadius,
	double startAngle,
	double endAngle,
	int segments,
	Point3DCollection points
)

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
points  Point3DCollection
Point3DCollection where the points will be added
See Also