Table of Contents

Class SurfaceOfRevolutionException

Namespace
CADability.GeoObject
Assembly
CADability.dll

Thrown when a surface cannot be built by revolving a curve about an axis, e.g. by HelicalSurface when the curve lies on the axis and no plane through both exists. MakeRevolution(IGeoObject, GeoPoint, GeoVector, double, Project) catches it to skip such degenerate curves.

public class SurfaceOfRevolutionException : ApplicationException, ISerializable
Inheritance
SurfaceOfRevolutionException
Implements
Inherited Members

Constructors

SurfaceOfRevolutionException(string)

Creates the exception with the given message.

public SurfaceOfRevolutionException(string msg)

Parameters

msg string

describes why the surface is invalid