Click or drag to resize

PolyederExtensionsAddThreeDCircle Method

[This is preliminary documentation and is subject to change.]

Create a 3D circle around the origin of the provided coordinate system with given radius thickness.

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static IReadOnlyList<Point> AddThreeDCircle(
	this Polyeder polyeder,
	CoordinateSystem coordinateSystem,
	Length radius,
	Length thickness,
	double scale,
	double shiftPercentage = 0,
	double circumferenceDrawPercentage = 100,
	double zigzagOffset = 0,
	bool shouldBeClockwise = true
)

Parameters

polyeder
Type: Infrastructure.GeometryPolyeder
The polyeder to which the circle must be added
coordinateSystem
Type: Infrastructure.GeometryCoordinateSystem
The coordinate system for the circle
radius
Type: Length
The radius of the circle
thickness
Type: Length
The thickness of the 3D rectangle segments making up the circumference of the circle
scale
Type: SystemDouble
The scale of the circle
shiftPercentage (Optional)
Type: SystemDouble
How many percent should we shift clock-wise when starting to render the circle (usefull when not rendering full circles but part of a circle). Defaults to 0%
circumferenceDrawPercentage (Optional)
Type: SystemDouble
How many percent of the circumference should be rendered, defaults to 100%
zigzagOffset (Optional)
Type: SystemDouble
If more than 0, the circle will be rendered in a "zigzag" like pattern. The offset value is used to render points above and below the circumference
shouldBeClockwise (Optional)
Type: SystemBoolean
Default true,if the points of the circle should be defined in a clockwise matter. Anti-clockwise otherwise.

Return Value

Type: IReadOnlyListPoint
The points that make up the circumference of the circle

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Polyeder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also