CSMath.Geometry.Segment3D
struct · ACadSharp · CLR name: CSMath.Geometry.Segment3D
No upstream type summary is available.
Base type: System.ValueType. Inherited members are documented on their declaring type.
Interfaces: CSMath.Geometry.ILine[CSMath.XYZ], System.IEquatable[CSMath.Geometry.Segment3D].
import acadsharp
Type = acadsharp.get_type('CSMath.Geometry.Segment3D')
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
CSMath.Geometry.Segment3D(CSMath.XYZ origin, CSMath.XYZ end)
Equals
System.Boolean Equals(CSMath.Geometry.Segment3D other)
Documentation inherited from: base member.
Equals
System.Boolean Equals(System.Object obj)
Documentation inherited from: base member.
FindIntersection
CSMath.XYZ FindIntersection(CSMath.Geometry.ILine[CSMath.XYZ] line)
Calculates the intersection point of the current line segment and the specified line.
Returns: The intersection point as an XYZ object, or XYZ.NaN if there is no intersection within the bounds of the current segment.
line: The line to intersect with.
GetHashCode
System.Int32 GetHashCode()
Documentation inherited from: base member.
Direction
CSMath.XYZ Direction { get; }
Documentation inherited from: base member.
End
CSMath.XYZ End { get; set; }
Gets or sets the end point of the segment in 3D space.
Origin
CSMath.XYZ Origin { get; set; }
Documentation inherited from: base member.