|
Line3DFactoryCreateLineArc3D(Point3D, Vector3D, Double, Double, Vector3D, Double, Double, Int32, Double, Color, LineCap, LineCap, Double, Viewport3D) Method |
Creates 3D lines that represent a 3D Arc (part of the circle).
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateLineArc3D(
Point3D circleCenterPosition,
Vector3D circleNormal,
double xRadius,
double yRadius,
Vector3D zeroAngleDirection,
double startAngle,
double endAngle,
int segments,
double lineThickness,
Color lineColor,
LineCap startLineCap,
LineCap endLineCap,
double miterLimit,
Viewport3D parentViewport3D
)
Parameters
- circleCenterPosition Point3D
- center position of the circle that defined the arc
- circleNormal Vector3D
- the normal vector of the circle that defined the arc (the vector that is perpendicular to the circle)
- xRadius Double
- the radius of the ellipse in the zeroAngleDirection
- yRadius Double
- the radius of the ellipse in the direction that is perpendicular to zeroAngleDirection
- zeroAngleDirection Vector3D
- the Vector3D that is pointing from center position to the position on the circle where the arc's angle is zero
- startAngle Double
- the angle in degrees where the arc begins
- endAngle Double
- the angle in degrees where the arc ends
- segments Int32
- the number of lines that are used to define the arc
- lineThickness Double
- line thickness in screen coordinates
- lineColor Color
- color of the lines
- startLineCap LineCap
- LineCap that is used for start position of each line
- endLineCap LineCap
- LineCap that is used for end position of each line
- miterLimit Double
- double value that specifies how long the edge can be before it is turned into a beveled edge (specified in number of thicknesses)
- parentViewport3D Viewport3D
- parent Viewport3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D arc
See Also