GEntity Class

Base class for all Eyeshot entities.
Public MustInherit Class GEntity 
Implements ISerializable, _ 
ICloneable
This language is not supported or no code example is available.
public abstract class GEntity : ISerializable
ICloneable
This language is not supported or no code example is available.
Name Description
Protected constructor GEntity() Empty constructor.
Protected constructor GEntity(GEntity)
Public constructor GEntity(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Top
Name Description
Public property EntityData Gets or sets the entity custom data.
Top
Methods
 
Name Description
Public method Clone() Creates a deep copy of this entity.
Protected method ComputeApproximatedBoundingBox(out Point3D, out Point3D) Computes the primitive's approximated bounding box.
Public method ConvertToSurrogate() Converts the GEntity to its surrogate, for serialization purpose.
Public method Dump() Returns a description of this entity.
Public method Equals(Object) (inherited from Object).
Protected method Finalize (inherited from Object).
Protected method Static GetClosestMainAxis(Vector3D)
Public method GetCoarseSampling() Returns a small set of points that gives a coarse idea of the 3D extent of the primitive.
Public method GetHashCode (inherited from Object).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Protected method Static GetOffsetDistance(Vector3D, Vector3D, double)
Public method GetType (inherited from Object).
Public method IsValid() Returns true if all the entity fields contain reasonable information.
Protected method MemberwiseClone (inherited from Object).
Public method ResetComputedData() Resets needed primitive's geometrical attributes to recompute.
Public method Rotate(double, Vector3D, Point3D) Rotates the entity around an arbitrary axis by the specified angle.
Public method Rotate(double, Point3D, Point3D) Rotates the entity around an arbitray axis by the specified angle.
Public method Rotate(double, Vector3D) Rotates the entity around an arbitray axis by the specified angle.
Public method Scale(Point3D, double, double, double) Scales the entity of the specified scale factor.
Public method Scale(Point3D, double) Scales the entity of the specified scale factor.
Public method Scale(Vector3D) Scales the entity of the specified scale factor.
Public method Scale(double) Scales the entity of the specified scale factor.
Public method Scale(double, double, double) Scales the entity of the specified scale factor.
Public method ToString (inherited from Object).
Internal protected (Protected Friend) method TransformAllVertices(Point3D[], Transformation, bool, bool)
Public method TransformBy(Transformation) Transforms all the entity's vertices by the specified transformation.
Public method Translate(double, double, double) Translates the entity.
Public method Translate(Vector3D) Translates the entity.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition