RevolvedSurface Class

This class represents a surface of revolution. A revolved surface is obtained by rotating a profile curve about an axis. Its parametric representation has the form retPnt(u, v) = P + C(u).x * (XVec * cos(v) + YVec * sin(v)) + C(u).z * A, where * C(u) is the profile curve (which controls the height and the distance from the axis), * P is the origin (base point) of the surface, * A is the axis of the surface, * XVec, YVec are the unit vectors for the rotated curve. The profile curve is specified in local coordinates: its Z coordinate goes along the axis of rotation, its X coordinate goes orthogonal to the axis, and its Y coordinate is ignored.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometrySurface
          Teigha.GeometryRevolvedSurface

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 27.3.0.0
Syntax
public class RevolvedSurface : Surface

The RevolvedSurface type exposes the following members.

Constructors
  Name Description
Public method RevolvedSurface Default constructor for the RevolvedSurface class. Constructs an invalid revolved surface.
Public method RevolvedSurface(Curve3d, Point3d, Vector3d, Vector3d, Double, Double) Constructor for the RevolvedSurface class. Creates a revolved surface with the specified parameters.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Axis Property that represents the axis of rotation of this revolved surface.
Public property BasePoint Property that represents the origin point of this revolved surface.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsNormalReversed Property that indicates whether the normal of this surface is reversed an odd number of times.
(Inherited from Surface)
Public property Profile Property that represents the profile curve of this revolved surface, in local coordinates.
Public property ReferenceVector Property that represents the vector that indicates the direction of the zero rotation angle.
Public property ReverseNormal Property that creates a surface with a reversed normal vector orientation (the same exact surface but with changed normal orientation).
(Inherited from Surface)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone Clones this entity and returns a handle to the cloned entity.
(Inherited from Entity3d)
Public method ClosestPointTo(Point3d) Gets a point on this surface that is the closest to the specified point.
(Inherited from Surface)
Public method ClosestPointTo(Point3d, Tolerance) Gets a point on this surface that is the closest to the specified point according to a tolerance.
(Inherited from Surface)
Public methodStatic member Create Creates an object based on the passed pointer and returns a handle to the created object.
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from Entity3d)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method DistanceTo(Point3d) Retrieves the distance from the closest point on this plane to the specified point.
(Inherited from Surface)
Public method DistanceTo(Point3d, Tolerance) Retrieves the distance from the closest point on this plane to the specified point according to a tolerance.
(Inherited from Surface)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method EvaluatePoint(Point2d) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method EvaluatePoint(Point2d, Int32, Vector3dCollection) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method EvaluatePoint(Point2d, Int32, Vector3dCollection, Vector3d) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetAngles Returns the start and end angles of rotation of the profile curve.
Public method GetClosestPointTo(Point3d) Gets a point on this surface that is the closest to the specified point.
(Inherited from Surface)
Public method GetClosestPointTo(Point3d, Tolerance) Gets a point on this surface that is the closest to the specified point according to a tolerance.
(Inherited from Surface)
Public method GetEnvelope Returns the minimum rectangle in parameter space that contains the parameter domain of this surface. Should be implemented in derived classes.
(Inherited from Surface)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IsClosedInU Checks whether this surface is closed in the U direction. Should be implemented in derived classes.
(Inherited from Surface)
Public method IsClosedInU(Tolerance) Checks whether this surface is closed in the U direction according to a tolerance. Should be implemented in derived classes.
(Inherited from Surface)
Public method IsClosedInV Checks whether this surface is closed in the V direction. Should be implemented in derived classes.
(Inherited from Surface)
Public method IsClosedInV(Tolerance) Checks whether this surface is closed in the V direction according to a tolerance. Should be implemented in derived classes.
(Inherited from Surface)
Public method IsEqualTo(Entity3d) Checks whether this entity is equal to the specified entity.
(Inherited from Entity3d)
Public method IsEqualTo(Entity3d, Tolerance) Checks whether this entity is equal to the specified entity within a geometric tolerance.
(Inherited from Entity3d)
Public method IsOn(Point3d) Checks whether the specified point is on this entity.
(Inherited from Entity3d)
Public method IsOn(Point3d, Tolerance) Checks whether the specified point is on this entity according to a geometric tolerance.
(Inherited from Entity3d)
Public method IsOn(Point3d, Point2d) Checks whether the passed point is on this surface and retrieves a 2D point (U, V) that represents parametric values for the passed 3D point if it is on this surface.
(Inherited from Surface)
Public method IsOn(Point3d, Point2d, Tolerance) Checks whether the passed point is on this surface according to a tolerance and retrieves a 2D point (U, V) that represents parametric values for the passed 3D point if it is on this surface.
(Inherited from Surface)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method Mirror Mirrors this entity about the specified plane.
(Inherited from Entity3d)
Public method ParameterOf(Point3d) Retrieves a 2D point (U, V) that represents parametric values for the passed 3D point on this surface.
(Inherited from Surface)
Public method ParameterOf(Point3d, Tolerance) Retrieves a 2D point (U, V) that represents parametric values for the passed 3D point on this surface.
(Inherited from Surface)
Public method RotateBy Rotates this entity by the specified angle about the axis defined by the point and the vector.
(Inherited from Entity3d)
Public method ScaleBy Scales this entity by the scale factor about the specified point.
(Inherited from Entity3d)
Public method Set Sets the parameters for this revolved surface. Resets the start and end angles to the full-revolution default [0, 2*pi].
Public method SetAngles Sets the start and end angles of rotation of the profile curve.
Public method SetReferenceVector Sets the vector that indicates the direction of the zero rotation angle of the profile curve.
Public method ToString
(Inherited from Object)
Public method TransformBy Applies the specified 3D transformation matrix to this entity.
(Inherited from Entity3d)
Public method TranslateBy Translates this entity by applying a 3D translation vector.
(Inherited from Entity3d)
Top
See Also