class Crystalg::Geometry::Segment(T)

Defined in:

crystalg/geometry/segment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(position : Crystalg::Geometry::Point(T), direction : Crystalg::Geometry::Point(T)) #

[View source]

Instance Method Detail

def direction : Point(T) #

[View source]
def distance(point : Point(T)) #

[View source]
def distance(other) #

[View source]
def intersection_point(other) #

[View source]
def is_intersection?(other) #

[View source]
def is_overlap?(other) #

[View source]
def is_parallel?(other) #

[View source]
def on?(c) #

[View source]
def position : Point(T) #

[View source]