Interface ISurfaceWithRadius
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Implemented by surfaces which are defined by a single radius: ICylinder, ISphere and the surfaces implementing them. The parametric actions use it to display and change the radius of a face without knowing the concrete type of its surface.
public interface ISurfaceWithRadius
Properties
IsModifiable
True when Radius may be set. False e.g. for a SphericalSurface with different radii in x, y and z, which has no single radius.
bool IsModifiable { get; }
Property Value
Radius
The radius of the surface. Setting it (only allowed when IsModifiable is true) changes the surface in place, keeping its axis or center; no change events are raised, the owning face has to be updated by the caller.
double Radius { get; set; }