Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

cba2ff57 f0c6 7164 c862 28c35d8061fd

haplokuon edited this page May 6, 2023 · 1 revision

Ray(Vector2, Vector2) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the Ray class.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public Ray(
	Vector2 origin,
	Vector2 direction
)

VB

Public Sub New ( 
	origin As Vector2,
	direction As Vector2
)

C++

public:
Ray(
	Vector2 origin, 
	Vector2 direction
)

F#

new : 
        origin : Vector2 * 
        direction : Vector2 -> Ray

Parameters

  Vector2
Ray start point.
  Vector2
Ray end point.

See Also

Reference

Ray Class
Ray Overload
netDxf.Entities Namespace

Clone this wiki locally