GLine Class

GLine entity.
Public Class GLine 
Inherits GEntity 
Implements IGCurve, _ 
IEvaluable
This language is not supported or no code example is available.
public class GLine : GEntity
IGCurve
IEvaluable
This language is not supported or no code example is available.
Name Description
Protected constructor GLine(GLine)
Public constructor GLine(Plane, Point2D, Point2D) Sketch plane constructor.
Public constructor GLine(Plane, double, double, double, double) Sketch plane constructor.
Public constructor GLine(Point3D, Point3D) Two 3D points constructor.
Public constructor GLine(Segment2D) 2D segment constructor.
Public constructor GLine(Segment3D) 3D segment constructor.
Public constructor GLine(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Public constructor GLine(double, double, double, double) GLine on XY plane constructor.
Public constructor GLine(double, double, double, double, double, double) Individual coordinates constructor.
Top
Name Description
Public property Direction Gets the gline direction as a 3D vector.
Public property Domain
Public property EdgeIndex
Public property EndPoint
Public property EndTangent
Public property EntityData Gets or sets the entity custom data. (inherited from GEntity).
Public property FromBooleanIntersection
Public property IsClosed
Public property IsPoint
Public property MidPoint Gets the gline's middle point.
Public property StartPoint
Public property StartTangent
Public property Tangent Evaluates the unit tangent vector, it is the same at all the points of the gline.
Top
Methods
 
Name Description
Public method Static AreCollinear(GLine, GLine) Returns true if the two glines are collinear.
Public method Clone() Creates a deep copy of this gline.
Public method ClosestPointTo(Point3D, out double)
Protected method ComputeApproximatedBoundingBox(out Point3D, out Point3D) Computes the primitive's approximated bounding box.
Public method ComputeTessellation(IRegenParams, out Point3D[])
Public method ComputeTessellation(double, out Point3D[])
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).
Public method Evaluate(double, int)
Public method ExtrudeAsBrep(GLine, double)
Public method ExtrudeAsBrep(Vector3D, double, double)
Public method ExtrudeAsBrep(double, double, double, double)
Public method ExtrudeAsMesh(Vector3D, double, natureType)
Public method ExtrudeAsMesh(double, double, double, double, natureType)
Public method ExtrudeAsMesh<T>(Vector3D, double, natureType)
Public method ExtrudeAsMesh<T>(double, double, double, double, natureType)
Public method ExtrudeAsSolid(Vector3D, double)
Public method ExtrudeAsSolid(double, double, double, double)
Public method ExtrudeAsSurface(GLine)
Public method ExtrudeAsSurface(Vector3D)
Public method ExtrudeAsSurface(Vector3D, double, double)
Public method ExtrudeAsSurface(double, double, double)
Protected method Finalize (inherited from Object).
Protected method Static GetClosestMainAxis(Vector3D) (inherited from GEntity).
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 GetIndividualCurves()
Public method GetLengthFromParam(double, out double)
Public method GetNurbsForm()
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) (inherited from GEntity).
Public method GetParamFromLength(double, double, out double)
Public method GetParamFromLength(double, out double)
Public method GetPointsByLength(double) Subdivides the igCurve by the distance provided.
Public method GetPointsByLengthPerSegment(double)
Public method GetTightBBox(out Point3D, out Point3D)
Public method GetType (inherited from Object).
Public method GetXElement()
Public method InPlane(out Plane, double) Gets a plane that contains the gline.
Public method IntersectWith(IGCurve, bool)
Public method IsInPlane(Plane, double)
Public method IsLinear(double, out Segment3D)
Public method IsPlanar(double, out Plane)
Public method IsValid() Returns true if all the entity fields contain reasonable information. (inherited from GEntity).
Public method Length() Gets the gline length.
Protected method MemberwiseClone (inherited from Object).
Public method NormalAt(double)
Public method Offset(double, Vector3D)
Public method Offset(double, Vector3D, double, bool)
Public method OffsetToRegion(double, double, bool)
Public method PointAt(double) Evaluates a point on (infinite) gline.
Public method Project(Point3D, out double)
Public method ResetComputedData() Resets needed primitive's geometrical attributes to recompute. (inherited from GEntity).
Public method Reverse()
Public method RevolveAsBrep(double, double, GLine, double)
Public method RevolveAsBrep(double, double, Point3D, Point3D, double)
Public method RevolveAsBrep(double, double, Vector3D, Point3D, double)
Public method RevolveAsMesh(double, double, Point3D, Point3D, int, double, natureType)
Public method RevolveAsMesh(double, double, Vector3D, Point3D, int, double, natureType)
Public method RevolveAsMesh<T>(double, double, Point3D, Point3D, int, double, natureType)
Public method RevolveAsMesh<T>(double, double, Vector3D, Point3D, int, double, natureType)
Public method RevolveAsSolid(double, double, Point3D, Point3D, int, double)
Public method RevolveAsSolid(double, double, Vector3D, Point3D, int, double)
Public method RevolveAsSurface(double, double, GLine)
Public method RevolveAsSurface(double, double, Point3D, Point3D)
Public method RevolveAsSurface(double, double, Vector3D, Point3D)
Public method Rotate(double, Vector3D, Point3D) Rotates the entity around an arbitrary axis by the specified angle. (inherited from GEntity).
Public method Rotate(double, Point3D, Point3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from GEntity).
Public method Rotate(double, Vector3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from GEntity).
Public method Scale(Point3D, double, double, double) Scales the entity of the specified scale factor. (inherited from GEntity).
Public method Scale(Point3D, double) Scales the entity of the specified scale factor. (inherited from GEntity).
Public method Scale(Vector3D) Scales the entity of the specified scale factor. (inherited from GEntity).
Public method Scale(double) Scales the entity of the specified scale factor. (inherited from GEntity).
Public method Scale(double, double, double) Scales the entity of the specified scale factor. (inherited from GEntity).
Public method SplitAt(double, out IGCurve, out IGCurve)
Public method SplitBy(IList<Point3D>, out IGCurve[])
Public method SplitBy(Point3D, out IGCurve, out IGCurve)
Public method SubCurve(Point3D, Point3D, out IGCurve)
Public method SubCurve(double, double, out IGCurve)
Public method SweepAsBrep(IGCurve, double, sweepMethodType)
Public method SweepAsBrep(IGCurve, double, bool, sweepMethodType)
Public method SweepAsMesh(IGCurve, double, sweepMethodType, natureType)
Public method SweepAsMesh(IGCurve, double, bool, sweepMethodType, natureType)
Public method SweepAsMesh<T>(IGCurve, double, sweepMethodType, natureType)
Public method SweepAsMesh<T>(IGCurve, double, bool, sweepMethodType, natureType)
Public method SweepAsSolid(IGCurve, double, sweepMethodType)
Public method SweepAsSolid(IGCurve, double, bool, sweepMethodType)
Public method SweepAsSurface(IGCurve, double, sweepMethodType)
Public method TangentAt(double)
Public method ToString (inherited from Object).
Internal protected (Protected Friend) method TransformAllVertices(Point3D[], Transformation, bool, bool) (inherited from GEntity).
Public method TransformBy(Transformation) Transforms all the entity's vertices by the specified transformation.
Public method Translate(double, double, double) Translates the entity. (inherited from GEntity).
Public method Translate(Vector3D) Translates the entity. (inherited from GEntity).
Public method TrimAt(double, bool)
Public method TrimBy(Point3D, bool) Trims the gline at the limit point projection.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition