Torus Class

Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometrySurface
          Teigha.GeometryTorus

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public sealed class Torus : Surface

The Torus type exposes the following members.

Constructors
  Name Description
Public method Torus Default constructor for the Torus class. Creates a default corresponding C++ object (torus) with the following properties: * Minor radius = 0.5. * Start angle for the U parameter = -OdaPI. * End angle for the U parameter = OdaPI. * Start angle for the V parameter = -OdaPI. * End angle for the V parameter = OdaPI.
Public method Torus(Double, Double, Point3d, Vector3d) Constructor for the Torus class.
Public method Torus(Double, Double, Point3d, Vector3d, Vector3d, Double, Double, Double, Double) Constructor for the Torus class.
Top
Properties
  Name Description
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property AxisOfSymmetry  
Public property Center  
Public property IsApple  
Public property IsDegenerate  
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsDoughnut  
Public property IsHollow  
Public property IsLemon  
Public property IsNormalReversed Property that indicates whether the normal of this surface is reversed an odd number of times.
(Inherited from Surface)
Public property IsOuterNormal  
Public property IsVortex  
Public property MajorRadius  
Public property MinorRadius  
Public property ReferenceAxis  
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
(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 Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method Dispose
(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
(Inherited from DisposableWrapper)
Public method EvaluatePoint Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method GetAnglesInU Retrieves the start and end angles about the axis of symmetry.
Public method GetAnglesInV Retrieves the start and end angles about the tube.
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
(Inherited from Surface)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method IntersectWith(LinearEntity3d) Calculates intersection points with the specified linear entity.
Public method IntersectWith(LinearEntity3d, Tolerance) Calculates intersection points with the specified linear entity according to a tolerance.
Public method IsClosedInU
(Inherited from Surface)
Public method IsClosedInU(Tolerance)
(Inherited from Surface)
Public method IsClosedInV
(Inherited from Surface)
Public method IsClosedInV(Tolerance)
(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)
(Inherited from Surface)
Public method IsOn(Point3d, Point2d, Tolerance)
(Inherited from Surface)
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(Double, Double, Point3d, Vector3d) Sets the parameters for this torus according to the arguments.
Public method Set(Double, Double, Point3d, Vector3d, Vector3d, Double, Double, Double, Double) Sets the parameters for this torus according to the arguments.
Public method SetAnglesInU Sets the start and end angles about the axis of symmetry.
Public method SetAnglesInV Sets the start and end angles about the axis of symmetry.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TransformBy Applies the specified 2D 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

©  Bricsys NV. All rights reserved.