ExternalSurface Class

This class wraps the OdGeExternalSurface class which represents unbounded surfaces, whose definitions are external to this library and the OdGe library.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometrySurface
          Teigha.GeometryExternalSurface

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

The ExternalSurface type exposes the following members.

Constructors
  Name Description
Public method ExternalSurface Default constructor for the ExternalSurface class. Creates a default corresponding C++ object with a pointer to the surface definition set to NULL, undefined entity for a surface type (no information about the system that created an external surface in other words) and an option to prevent creating a copy of the external surface.
Public method ExternalSurface(IntPtr, ExternalEntityKind) Sets the parameters for this external surface according to the arguments.
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 ExternalSurfaceDefiniton Property that represents a pointer to an external surface definition.
Public property ExternalSurfaceKind Property that represents information about the system that created the surface.
Public property IsCone Property that indicates whether the external surface is a cone.
Public property IsCylinder Property that indicates whether the external surface is a cylinder.
Public property IsDefined Property that indicates whether the surface is defined (not an empty instance).
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsEllipCone Property that indicates whether the external surface is an elliptical cone.
Public property IsEllipCylinder Property that indicates whether the external surface is an elliptical cylinder.
Public property IsNativeSurface Property that indicates whether the external surface can be represented as a native OdGeSurface.
Public property IsNormalReversed Property that indicates whether the normal of this surface is reversed an odd number of times.
(Inherited from Surface)
Public property IsNurbSurface Property that indicates whether the external surface can be represented as an OdGeNurbSurface.
Public property IsOwnerOfSurface Property that indicates whether the external surface owns the data. If the external surface owns the data, it will be destroyed when the surface is destroyed.
Public property IsPlane Property that indicates whether the external surface is a plane.
Public property IsSphere Property that indicates whether the external surface is a sphere.
Public property IsTorus Property that indicates whether the external surface is a torus.
Public property nativeSurface Property that represents a handle to a native external surface definition. See also, IsNativeSurface property.
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)
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 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 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
(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 Sets the parameters for this external surface according to the arguments.
Public method SetToOwnSurface Forces this external surface to own the data.
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
Remarks
OdGeExternalSurface instances can be treated as any other OdGeSurface. You can access the OdGeExternalSurface as a corresponding native OdGeSurface, if such a corresponding surface exists, or you may (more efficiently) access the external data in its native form. One example of using OdGeExternalSurface is to access an ACIS surface.
See Also

©  Bricsys NV. All rights reserved.