TorusSet(Double, Double, Point3d, Vector3d, Vector3d, Double, Double, Double, Double) Method

Sets the parameters for this torus according to the arguments.

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public void Set(
        double majorRadius,
        double minorRadius,
        Point3d origin,
        Vector3d axisOfSymmetry,
        Vector3d refAxis,
        double startAngleU,
        double endAngleU,
        double startAngleV,
        double endAngleV
)

Parameters

majorRadius  Double
[in] The major *radius* of this torus. The major radius is the distance from the origin to the center of the circular arc.
minorRadius  Double
[in] The minor *radius* of this torus. The minor radius defines the radius of the circular arc.
origin  Point3d
[in] The origin of this torus.
axisOfSymmetry  Vector3d
[in] Axis of symmetry (rotation).
refAxis  Vector3d
 
startAngleU  Double
[in] Start angle about the axis of symmetry. Defines the lower bound of the U parameter interval.
endAngleU  Double
[in] End angle about the axis of symmetry. Defines the upper bound of the U parameter interval.
startAngleV  Double
[in] Start angle about the tube. Defines the lower bound of the V parameter interval.
endAngleV  Double
[in] End angle about the tube. Defines the upper bound of the V parameter interval.
See Also

©  Bricsys NV. All rights reserved.