struct PG::Geo::LineSegment

Defined in:

pg/geo.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x1 : Float64, y1 : Float64, x2 : Float64, y2 : Float64) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(x1 _x1 = @x1, y1 _y1 = @y1, x2 _x2 = @x2, y2 _y2 = @y2) #

[View source]
def x1 : Float64 #

def x2 : Float64 #

def y1 : Float64 #

def y2 : Float64 #