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: 26.9.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 Property that represents the apex of this cone.
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property AxisOfSymmetry Property that represents the axis of symmetry of this cone.
Public property BaseCenter Property that represents the center of the base.
Public property BaseRadius Property that represents the base radius of this cone.
Public property HalfAngle Property that represents the angle between the generating line and the axis of symmetry.
Public property Height Property that represents the interval of the axis of symmetry.
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 IsOuterNormal Property that indicates whether the normal to this cone is pointing outward.
Public property ReferenceAxis Property that represents the reference axis of this cone.
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 a Cone object based on the passed pointer.
Public method CreateObjRef
(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 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)
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 Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetHeightAt Retrieves the height of this cone corresponding to the specified position on the U-axis.
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(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
(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.