2027 Method
Changes 0
M

RevolvedSurface.IsValidProfileCurve

Description:
Checks if the input profile curve is valid to create a surface of revolution around the given axis.
Remarks:
The validity is defined as follows:
  • The profile curve is bounded and non-degenerate.
  • It is co-planar with the axis of revolution.
  • It lies on only one side of the axis.
  • Only the end points of the profile curve can touch the axis.
Overloads (2):
IsValidProfileCurve(XYZ,XYZ,Curve)
public static bool IsValidProfileCurve(
	XYZ axisBasePoint,
	XYZ axisDirection,
	Curve profileCurve
)
  • axisBasePoint
    The base point of the axis of revolution.
  • axisDirection
    The direction of the axis.
  • profileCurve
    The profile curve.
Return Value Boolean True if the profile curve is valid; False otherwise.