ACadSharp.Entities.Line

class · ACadSharp · CLR name: ACadSharp.Entities.Line

Represents a ACadSharp.Entities.Line entity.

Object name F:ACadSharp.DxfFileToken.EntityLine Dxf class name F:ACadSharp.DxfSubclassMarker.Line

Base type: ACadSharp.Entities.Entity. Inherited members are documented on their declaring type.

Interfaces: ACadSharp.Entities.IEntity, ACadSharp.Entities.IGeometricEntity, ACadSharp.IHandledCadObject, ACadSharp.IOrientable.

import acadsharp
Type = acadsharp.get_type('ACadSharp.Entities.Line')

Declared public members

Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.

.ctor

ACadSharp.Entities.Line()

Default constructor.

.ctor

ACadSharp.Entities.Line(CSMath.IVector start, CSMath.IVector end)

Constructor with the start and end.

  • start:
  • end:

.ctor

ACadSharp.Entities.Line(CSMath.XYZ start, CSMath.XYZ end)

Constructor with the start and end.

  • start:
  • end:

ApplyTransform

System.Void ApplyTransform(CSMath.Transform transform)

Documentation inherited from: base member.

GetBoundingBox

CSMath.BoundingBox GetBoundingBox()

Documentation inherited from: base member.

ToSegment3D

CSMath.Geometry.Segment3D ToSegment3D()

EndPoint

CSMath.XYZ EndPoint { get; set; }

A 3D coordinate representing the end point of the object.

Normal

CSMath.XYZ Normal { get; set; }

Documentation inherited from: base member.

ObjectName

System.String ObjectName { get; }

Documentation inherited from: base member.

ObjectType

ACadSharp.ObjectType ObjectType { get; }

Documentation inherited from: base member.

StartPoint

CSMath.XYZ StartPoint { get; set; }

A 3D coordinate representing the start point of the object.

SubclassMarker

System.String SubclassMarker { get; }

Documentation inherited from: base member.

Thickness

System.Double Thickness { get; set; }

Specifies the distance a 2D object is extruded above or below its elevation.