CadRay

Inheritance: java.lang.Object, CadBaseInfinityEntity

Class describing CadRay

Constructors

ConstructorDescription
CadRay(Cad3DPoint firstPoint, Cad3DPoint unitDirectionVector)Initializes a new instance of the CadRay class.

Methods

MethodDescription
getTypeName()Gets the name of the type.
getFirstPoint()Gets or sets the first point .
setFirstPoint(Cad3DPoint value)Gets or sets the first point .
getUnitDirectionVector()Gets or sets the unit direction vector.
setUnitDirectionVector(Cad3DPoint value)Gets or sets the unit direction vector.

CadRay(Cad3DPoint firstPoint, Cad3DPoint unitDirectionVector)

public CadRay(Cad3DPoint firstPoint, Cad3DPoint unitDirectionVector)

Initializes a new instance of the CadRay class.

Parameters:

ParameterTypeDescription
firstPointCad3DPointFirst point.
unitDirectionVectorCad3DPointUnit direction vector.

Throws:

  • com.aspose.ms.System.ArgumentNullException - Thrown when one of arguments is null

getTypeName()

public int getTypeName()

Gets the name of the type.

Returns: int - The name of the type.

getFirstPoint()

public Cad3DPoint getFirstPoint()

Gets or sets the first point .

Returns: Cad3DPoint - The First Point .

setFirstPoint(Cad3DPoint value)

public void setFirstPoint(Cad3DPoint value)

Gets or sets the first point .

Parameters:

ParameterTypeDescription
valueCad3DPointThe First Point .

getUnitDirectionVector()

public Cad3DPoint getUnitDirectionVector()

Gets or sets the unit direction vector.

Returns: Cad3DPoint - The unit direction vector.

setUnitDirectionVector(Cad3DPoint value)

public void setUnitDirectionVector(Cad3DPoint value)

Gets or sets the unit direction vector.

Parameters:

ParameterTypeDescription
valueCad3DPointThe unit direction vector.