public Line3 ToLine() { Line3 result; result.Start = Start.ToVector3(); result.End = End.ToVector3(); return result; }
public Ray ToRay() { Ray result; result.Origin = Origin.ToVector3(); result.Direction = Direction.ToVector3(); return(result); }
public Sphere ToSphere() { Sphere result; result.Origin = Origin.ToVector3(); result.Radius = Radius; return(result); }
public Cone ToCone() { Cone result; result.Origin = Origin.ToVector3(); result.Axis = Axis.ToVector3(); result.Angle = Angle; return(result); }
public Cylinder ToCylinder() { Cylinder result; result.Point1 = Point1.ToVector3(); result.Point2 = Point2.ToVector3(); result.Radius = Radius; return(result); }
public Capsule ToCapsule() { Capsule result; result.Point1 = Point1.ToVector3(); result.Point2 = Point2.ToVector3(); result.Radius = Radius; return(result); }