Cone Class

This .NET class wraps the OdGeCone class.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometrySurface
          Teigha.GeometryCone

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

The Cone type exposes the following members.

Constructors
  Name Description
Public method Cone Default constructor for the Cone class. Creates a cone with half angle of 45°, a reference axis of (1,0,0), a baseOrigin of (0,0,0), an axisOfSymmetry of (0,1,0), and a base radius of 2.0.
Public method Cone(Double, Double, Point3d, Double, Vector3d) Constructor for the Cone class. Creates a cone with the specified cosine and sine angles, base point, base radius and axis of symmetry.
Public method Cone(Double, Double, Point3d, Double, Vector3d, Vector3d, Interval, Double, Double) Constructor for the Cone class. Creates a cone with the specified cosine and sine angles, base point, base radius, axis of symmetry, height, and start and end angles of rotation.
Top
Properties
  Name Description
Public property Apex  
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property AxisOfSymmetry  
Public property BaseCenter  
Public property BaseRadius  
Public property HalfAngle  
Public property Height  
Public property IsDisposed
(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 IsOuterNormal  
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 a Cone object based on the passed pointer.
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 GetAngles Retrieves angles of rotation for this cone.
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 GetHalfAngles Retrieves half angles that define this cone. Absolute values of angles are retrieved (i.e. any signs are dropped).
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetHeightAt Retrieves the height of this cone corresponding to the specified position on the U-axis.
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) Retrieves intersection points between this cone and the passed linear entity.
Public method IntersectWith(LinearEntity3d, Tolerance) Retrieves intersection points between this cone and the passed linear entity. Calculations are performed within the specified tolerance.
Public method IsClosed Checks whether the base of this cone is a full circle.
Public method IsClosed(Tolerance) Checks whether the base of this cone is a full circle within the specified 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, Double, Vector3d) Sets the parameters for this cone according to the arguments.
Public method Set(Double, Double, Point3d, Double, Vector3d, Vector3d, Interval, Double, Double) Sets the parameters for this cone according to the arguments.
Public method SetAngles Sets the start and end angles of rotation for this cone.
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.